Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | final class ClassUtils |
||
30 | { |
||
31 | /** |
||
32 | * Verify if a Class implement an Interface. |
||
33 | * |
||
34 | * @param string $class The name of the Class that implements the Interface |
||
35 | * @param string $interface The Interface to check against |
||
36 | * |
||
37 | * @return bool |
||
38 | */ |
||
39 | public static function implements(string $class, string $interface): bool |
||
51 |