Lines Matching refs:method
18 if ($method = $class->getConstructor())
19 inspectMethod($method);
23 foreach ($methods as $method)
24 $tmp[$method->getName()] = $method;
27 foreach ($tmp as $method)
28 inspectMethod($method);
74 function inspectMethod(&$method) {
76 printf("\nInspecting method '%s'\n", $method->getName());
77 printf("isFinal: %s\n", ($method->isFinal()) ? 'yes' : 'no');
78 printf("isAbstract: %s\n", ($method->isAbstract()) ? 'yes' : 'no');
79 printf("isPublic: %s\n", ($method->isPublic()) ? 'yes' : 'no');
80 printf("isPrivate: %s\n", ($method->isPrivate()) ? 'yes' : 'no');
81 printf("isProtected: %s\n", ($method->isProtected()) ? 'yes' : 'no');
82 printf("isStatic: %s\n", ($method->isStatic()) ? 'yes' : 'no');
83 printf("isConstructor: %s\n", ($method->isConstructor()) ? 'yes' : 'no');
84 printf("isDestructor: %s\n", ($method->isDestructor()) ? 'yes' : 'no');
85 printf("isInternal: %s\n", ($method->isInternal()) ? 'yes' : 'no');
86 printf("isUserDefined: %s\n", ($method->isUserDefined()) ? 'yes' : 'no');
87 printf("returnsReference: %s\n", ($method->returnsReference()) ? 'yes' : 'no');
88 printf("Modifiers: %d\n", $method->getModifiers());
89 printf("Number of Parameters: %d\n", $method->getNumberOfParameters());
90 printf("Number of Required Parameters: %d\n", $method->getNumberOfRequiredParameters());
92 if ($params = $method->getParameters()) {
99 inspectParameter($method, $param);
102 if ($static = $method->getStaticVariables()) {
109 function inspectParameter(&$method, &$param) {
111 printf("\nInspecting parameter '%s' of method '%s'\n",
112 $param->getName(), $method->getName());