Lines Matching refs:method

6 function reflectMethod($class, $method) {
7 $methodInfo = new ReflectionMethod($class, $method);
9 echo "Reflecting on method $class::$method()\n\n";
13 var_dump(ReflectionMethod::export($class, $method, true));
54 Reflecting on method DerivedClass::foo()
57 string(%d) "Method [ <user, inherits TestClass> public method foo ] {
65 string(%d) "Method [ <user, inherits TestClass> public method foo ] {
72 Reflecting on method TestClass::stat()
75 string(%d) "Method [ <user> static public method stat ] {
83 string(%d) "Method [ <user> static public method stat ] {
90 Reflecting on method TestClass::priv()
93 string(%d) "Method [ <user> private method priv ] {
101 string(%d) "Method [ <user> private method priv ] {
108 Reflecting on method TestClass::prot()
111 string(%d) "Method [ <user> protected method prot ] {
119 string(%d) "Method [ <user> protected method prot ] {
126 Reflecting on method DerivedClass::prot()
129 string(%d) "Method [ <user, inherits TestClass> protected method prot ] {
137 string(%d) "Method [ <user, inherits TestClass> protected method prot ] {
144 Reflecting on method TestInterface::int()
147 string(%d) "Method [ <user> abstract public method int ] {
155 string(%d) "Method [ <user> abstract public method int ] {
162 Reflecting on method ReflectionProperty::__construct()
165 string(%d) "Method [ <internal:Reflection, ctor> public method __construct ] {
177 string(%d) "Method [ <internal:Reflection, ctor> public method __construct ] {
188 Reflecting on method TestClass::__destruct()
191 string(%d) "Method [ <user, dtor> public method __destruct ] {
199 string(%d) "Method [ <user, dtor> public method __destruct ] {