| Conditions | 3 |
| Paths | 3 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | private function getQualifierKeyVarString(\ReflectionMethod $method) : string |
||
| 39 | { |
||
| 40 | $annotations = $this->reader->getMethodAnnotations($method); |
||
| 41 | $names = []; |
||
| 42 | foreach ($annotations as $annotation) { |
||
| 43 | $qualifier = $this->reader->getClassAnnotation(new \ReflectionClass($annotation), Qualifier::class); |
||
| 44 | if ($qualifier instanceof Qualifier) { |
||
| 45 | $value = $annotation->value ?? Name::ANY; |
||
| 46 | $names[] = sprintf('%s=%s', $value, \get_class($annotation)); |
||
| 47 | } |
||
| 48 | } |
||
| 49 | |||
| 50 | return implode(',', $names); |
||
| 51 | } |
||
| 52 | } |
||
| 53 |