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

Public Member Functions

 __invoke (ContainerInterface $container, $requestedName, array $options=null)
 Create db adapter service.
 
 createService (ServiceLocatorInterface $container)
 Create db adapter service (v2)
 

Member Function Documentation

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

Create db adapter service.

Parameters
ContainerInterface$container
Returns
Adapter

Implements FactoryInterface.

createService ( ServiceLocatorInterface  $container)

Create db adapter service (v2)

Parameters
ServiceLocatorInterface$container
Returns
Adapter

Implements FactoryInterface.