FactoryContainer.php
19 lines
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace AC\DI; |
| 6 | |
| 7 | use AC\Vendor; |
| 8 | |
| 9 | interface FactoryContainer |
| 10 | { |
| 11 | |
| 12 | /** |
| 13 | * @return mixed |
| 14 | * @throws Vendor\Psr\Container\NotFoundExceptionInterface |
| 15 | * @throws Vendor\Psr\Container\ContainerExceptionInterface |
| 16 | */ |
| 17 | public function make(string $id, array $parameters = []); |
| 18 | |
| 19 | } |