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