| Conditions | 3 |
| Paths | 3 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function getMethodAnnotations(\ReflectionMethod $method) |
||
| 19 | { |
||
| 20 | $annotations = []; |
||
| 21 | |||
| 22 | foreach (parent::getMethodAnnotations($method) as $i => $annotation) { |
||
| 23 | if ($annotation instanceof ReflectionValidatorMethodAnnotationInterface) { |
||
| 24 | $annotation->validate($method); |
||
| 25 | } |
||
| 26 | |||
| 27 | $annotations[$i] = $annotation; |
||
| 28 | } |
||
| 29 | |||
| 30 | return $annotations; |
||
| 31 | } |
||
| 32 | } |
||
| 33 |