| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class ClassCache |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @param string|FolderInfo $folder |
||
| 25 | * @param bool $recursive |
||
| 26 | * @param string|null $instanceOf |
||
| 27 | * @return class-string[] |
||
|
|
|||
| 28 | * @throws FileHelper_Exception |
||
| 29 | */ |
||
| 30 | public static function findClassesInFolder($folder, bool $recursive=false, ?string $instanceOf=null) : array |
||
| 39 | } |
||
| 40 | |||
| 41 | private static ?ClassRepositoryManager $cache = null; |
||
| 42 | |||
| 43 | private static function createCache() : ClassRepositoryManager |
||
| 52 |