Interface for a factory A factory is an callable object that is able to create an object. It is given the instance of the service locator, the requested name of the class you want to create, and any additional options that could be used to configure the instance state.

Known implementers


Methods Summary
# __invoke( Interop\Container\ContainerInterface $container , string $requestedName , array $options = NULL )
Create an object