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

Public Member Functions

 __invoke (ContainerInterface $container, $name, array $options=null)
 Create the template prefix view resolver.
 
 createService (ServiceLocatorInterface $container)
 Create and return PrefixPathStackResolver instance.
 

Member Function Documentation

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

Create the template prefix view resolver.

Creates a Zend and populates it with the ['view_manager']['prefix_template_path_stack']

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

Implements FactoryInterface.

createService ( ServiceLocatorInterface  $container)

Create and return PrefixPathStackResolver instance.

For use with zend-servicemanager v2; proxies to __invoke().

Parameters
ServiceLocatorInterface$container
Returns
PrefixPathStackResolver

Implements FactoryInterface.