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

Delegator factory for the Application instance. More...

Public Member Functions

 __invoke (ContainerInterface $container, $name, callable $callback, array $options=null)
 
 createDelegatorWithName (ServiceLocatorInterface $container, $name, $requestedName, $callback)
 zend-servicemanager v2 compatibility.
 

Detailed Description

Delegator factory for the Application instance.

If in a console environment, attaches the console view manager as an event listener on the Application prior to returning it.

Deprecated:
since 1.1.8 Use the ViewManagerDelegatorFactory instead.

Member Function Documentation

__invoke ( ContainerInterface  $container,
  $name,
callable  $callback,
array  $options = null 
)
Parameters
ContainerInterface$container
string$name
callable$callback
null | array$options
Returns

Implements DelegatorFactoryInterface.

createDelegatorWithName ( ServiceLocatorInterface  $container,
  $name,
  $requestedName,
  $callback 
)

zend-servicemanager v2 compatibility.

Proxies to __invoke().

Parameters
ServiceLocatorInterface$container
string$name
string$requestedName
callable$callback
Returns

Implements DelegatorFactoryInterface.