1 | <?php |
||
12 | final class CachedInjectorFactory |
||
13 | { |
||
14 | /** @var array<string, InjectorInterface> */ |
||
15 | private static $injectors = []; |
||
16 | |||
17 | private function __construct() |
||
20 | |||
21 | /** |
||
22 | * @param callable(): AbstractModule $modules |
||
23 | * @param array<class-string> $savedSingletons |
||
|
|||
24 | */ |
||
25 | public static function getInstance(string $injectorId, string $scriptDir, callable $modules, ?CacheProvider $cache = null, array $savedSingletons = []): InjectorInterface |
||
47 | |||
48 | /** |
||
49 | * @param callable(): AbstractModule $modules |
||
50 | * @param array<class-string> $savedSingletons |
||
51 | */ |
||
52 | private static function getInjector(callable $modules, string $scriptDir, array $savedSingletons): InjectorInterface |
||
61 | } |
||
62 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.