callStatic() 공개 정적인 메소드

__callStatic() implementation.
public static callStatic ( $class, $method, $args ) : void
리턴 void
예제 #1
0
 /**
  * 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
파일: Object.php 프로젝트: manGoweb/mnamGo
 /**
  * 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);
 }