| Conditions | 3 | 
| Paths | 2 | 
| Total Lines | 8 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 3 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 18 | 22 | public function match(ReflectionClass $reflectionClass): bool | |
| 19 |     { | ||
| 20 | 22 |         if (empty($this->interfaces) || $reflectionClass->isInterface()) { | |
| 21 | 10 | return false; | |
| 22 | } | ||
| 23 | 20 | $interfaces = $reflectionClass->getInterfaceNames(); | |
| 24 | |||
| 25 | 20 | return count(array_intersect($this->interfaces, $interfaces)) === count($this->interfaces); | |
| 26 | } | ||
| 28 |