getMethods() 공개 정적인 메소드

Returns array of public (static, non-static and magic) methods.
public static getMethods ( $class ) : array
리턴 array
예제 #1
0
파일: SmartObject.php 프로젝트: nette/utils
 /**
  * @return bool
  */
 public function __isset($name)
 {
     $uname = ucfirst($name);
     return ObjectMixin::getMagicProperty(get_class($this), $name) || $name !== '' && ($methods = ObjectMixin::getMethods(get_class($this))) && (isset($methods['get' . $uname]) || isset($methods['is' . $uname]));
 }