Zend Framework  3.0
Public Member Functions | List of all members
ApplicationFactory Class Reference

Public Member Functions

 __invoke (ContainerInterface $container, $name, array $options=null)
 Create the Application service (v3)
 
 createService (ServiceLocatorInterface $container)
 Create the Application service (v2)
 

Member Function Documentation

__invoke ( ContainerInterface  $container,
  $name,
array  $options = null 
)

Create the Application service (v3)

Creates a Zend service, passing it the configuration service and the service manager instance.

Parameters
ContainerInterface$container
string$name
null | array$options
Returns
Application

Implements FactoryInterface.

createService ( ServiceLocatorInterface  $container)

Create the Application service (v2)

Proxies to __invoke().

Parameters
ServiceLocatorInterface$container
Returns
Application

Implements FactoryInterface.