| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 57 | protected static function getCustomTypes($platformName) |
||
| 58 | { |
||
| 59 | $customPlatformDir = __DIR__.DIRECTORY_SEPARATOR.$platformName.DIRECTORY_SEPARATOR; |
||
| 60 | |||
| 61 | $customTypes = []; |
||
| 62 | |||
| 63 | foreach (glob($customPlatformDir.'*.php') as $file) { |
||
| 64 | $className = basename($file, '.php'); |
||
| 65 | $customTypes[] = __NAMESPACE__.'\\'.$platformName.'\\'.$className; |
||
| 66 | } |
||
| 67 | |||
| 68 | return $customTypes; |
||
| 69 | } |
||
| 163 |