getMethods() public static method

Returns array of public (static, non-static and magic) methods.
public static getMethods ( $class ) : array
return array
Example #1
0
 /**
  * @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]));
 }