src/Reflection/ReflectionClassLike.php 1 location
|
@@ 57-63 (lines=7) @@
|
54 |
|
} |
55 |
|
|
56 |
|
if ($this instanceof ReflectionClass || $this instanceof ReflectionInterface) { |
57 |
|
foreach ($this->getInterfaces() as $interfaceName => $interface) { |
58 |
|
foreach ($interface->getMethods() as $methodName => $method) { |
59 |
|
if (!array_key_exists($methodName, $methods)) { |
60 |
|
$methods[$methodName] = $method; |
61 |
|
} |
62 |
|
} |
63 |
|
} |
64 |
|
} |
65 |
|
|
66 |
|
return $this->filterMethods($methods, $filter); |
src/Reflection/ReflectionMethod.php 1 location
|
@@ 103-109 (lines=7) @@
|
100 |
|
} |
101 |
|
|
102 |
|
if ($class instanceof ReflectionClass || $class instanceof \ReflectionClass) { |
103 |
|
foreach ($class->getInterfaces() as $interfaceName => $interface) { |
104 |
|
foreach ($interface->getMethods() as $methodName => $method) { |
105 |
|
if ($methodName === $this->getName()) { |
106 |
|
$methods[] = $method; |
107 |
|
} |
108 |
|
} |
109 |
|
} |
110 |
|
} |
111 |
|
|
112 |
|
if (count($methods) >= 2) { |