callStatic() public static method

__callStatic() implementation.
public static callStatic ( $class, $method, $args ) : void
return void
 /**
  * Call to undefined static method.
  *
  * @param string $name
  * @param array $args
  *
  * @throws \Nette\MemberAccessException
  * @return mixed
  */
 public static function __callStatic($name, $args)
 {
     ObjectMixin::callStatic(get_called_class(), $name, $args);
 }
示例#2
0
 /**
  * Call to undefined static method.
  * @param  string  method name (in lower case!)
  * @param  array   arguments
  * @return mixed
  * @throws MemberAccessException
  */
 public static function __callStatic($name, $args)
 {
     return Nette\Utils\ObjectMixin::callStatic(get_called_class(), $name, $args);
 }