()
| 40 | ]; |
| 41 | |
| 42 | private static function path(): string |
| 43 | { |
| 44 | $metaRoot = class_exists('SourceContext') ? SourceContext::metaRoot() : rtrim((string)META_DIR, '/\\') . DIRECTORY_SEPARATOR; |
| 45 | if (!self::$path || self::$metaRoot !== $metaRoot) { |
| 46 | self::$metaRoot = $metaRoot; |
| 47 | self::$path = self::pathForMetaRoot($metaRoot); |
| 48 | self::$cache = null; |
| 49 | self::resetMemo(); |
| 50 | } |
| 51 | return self::$path; |
| 52 | } |
| 53 | |
| 54 | private static function pathForMetaRoot(string $metaRoot): string |
| 55 | { |
no test coverage detected