Conditions | 3 |
Paths | 3 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
27 | 1 | public function getMethods(): array |
|
28 | { |
||
29 | 1 | $methods = []; |
|
30 | 1 | $reflection = new \ReflectionClass($this); |
|
31 | |||
32 | 1 | foreach ($reflection->getMethods() as $method) { |
|
33 | 1 | $identifier = $this->getMethodIdentifier($method); |
|
34 | |||
35 | 1 | if (!\is_null($identifier)) { |
|
36 | 1 | $methods[$identifier] = $method->getName(); |
|
37 | } |
||
38 | } |
||
39 | |||
40 | 1 | return $methods; |
|
41 | } |
||
67 |