| 1 | <?php |
||
| 5 | abstract class AbstractServiceFactoryContainer |
||
| 6 | { |
||
| 7 | protected $map; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @param callable[] $map |
||
| 11 | */ |
||
| 12 | public function __construct(array $map = []) |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @return callable[] |
||
| 19 | */ |
||
| 20 | public function getMap(): array |
||
| 24 | |||
| 25 | public function register(string $name, callable $factoryClosure): AbstractServiceFactoryContainer |
||
| 31 | |||
| 32 | public function has(string $name): bool |
||
| 36 | } |
||
| 37 |