| 1 | <?php |
||
| 14 | class RequestFactory implements FactoryInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Create an object |
||
| 18 | * |
||
| 19 | * @param ContainerInterface $container |
||
| 20 | * @param string $requestedName |
||
| 21 | * @param null|array $options |
||
| 22 | * @return object|Request |
||
| 23 | * @throws ServiceNotFoundException if unable to resolve the service. |
||
| 24 | * @throws ServiceNotCreatedException if an exception is raised when |
||
| 25 | * creating a service. |
||
| 26 | 1 | * @throws ContainerException if any other error occurs |
|
| 27 | */ |
||
| 28 | 1 | public function __invoke(ContainerInterface $container, $requestedName, array $options = null): Request |
|
| 32 | } |
||
| 33 |