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 ] {
63 string(%d) "Method [ <user, inherits TestClass> public method foo ] {
70 Reflecting on method TestClass::stat()
73 string(%d) "Method [ <user> static public method stat ] {
79 string(%d) "Method [ <user> static public method stat ] {
86 Reflecting on method TestClass::priv()
89 string(%d) "Method [ <user> private method priv ] {
95 string(%d) "Method [ <user> private method priv ] {
102 Reflecting on method TestClass::prot()
105 string(%d) "Method [ <user> protected method prot ] {
111 string(%d) "Method [ <user> protected method prot ] {
118 Reflecting on method DerivedClass::prot()
121 string(%d) "Method [ <user, inherits TestClass> protected method prot ] {
127 string(%d) "Method [ <user, inherits TestClass> protected method prot ] {
134 Reflecting on method TestInterface::int()
137 string(%d) "Method [ <user> abstract public method int ] {
143 string(%d) "Method [ <user> abstract public method int ] {
150 Reflecting on method ReflectionProperty::__construct()
153 string(%d) "Method [ <internal:Reflection, ctor> public method __construct ] {
163 string(%d) "Method [ <internal:Reflection, ctor> public method __construct ] {
174 Reflecting on method TestClass::__destruct()
177 string(%d) "Method [ <user, dtor> public method __destruct ] {
183 string(%d) "Method [ <user, dtor> public method __destruct ] {