1 | <?php |
||
15 | class MethodConditionWithInheritDocFetcher extends AbstractFetcher |
||
16 | { |
||
17 | /** |
||
18 | * Fetches conditions from all parent method prototypes recursively |
||
19 | * |
||
20 | * @param ReflectionClass $class |
||
21 | * @param string $methodName |
||
22 | * |
||
23 | * @return array |
||
24 | */ |
||
25 | 17 | public function getConditions(ReflectionClass $class, $methodName) |
|
41 | |||
42 | /** |
||
43 | * @param ReflectionClass $class |
||
44 | * @param string $methodName |
||
45 | * @param array $parentMethods |
||
46 | */ |
||
47 | 6 | private function getParentClassesMethods(ReflectionClass $class, $methodName, &$parentMethods) |
|
53 | |||
54 | /** |
||
55 | * @param ReflectionClass $class |
||
56 | * @param string $methodName |
||
57 | * @param array $parentMethods |
||
58 | */ |
||
59 | 6 | private function getInterfacesMethods(ReflectionClass $class, $methodName, &$parentMethods) |
|
68 | } |
||
69 |