*/
public static function callMethod($object, $method, $args = null)
{
- $args = func_get_args();
- $object = array_shift($args);
- $method = array_shift($args);
+ $args = \func_get_args();
+ $object = \array_shift($args);
+ $method = \array_shift($args);
$refl = new \ReflectionObject($object);
$reflMethod = $refl->getMethod($method);
*/
public static function callStatic($class, $method, $args = null)
{
- $args = func_get_args();
- $class = array_shift($args);
- $method = array_shift($args);
+ $args = \func_get_args();
+ $class = \array_shift($args);
+ $method = \array_shift($args);
$refl = new \ReflectionClass($class);
$reflMethod = $refl->getMethod($method);