PHP Class Zend\Mvc\Service\ViewResolverFactory

Inheritance: implements Zend\ServiceManager\FactoryInterface
Afficher le fichier Open project: zendframework/zend-mvc

Méthodes publiques

Méthode Description
__invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : Zend\View\Resolver\AggregateResolver Create the aggregate view resolver
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : Zend\View\Resolver\AggregateResolver Create and return ViewResolver\AggregateResolver instance

Method Details

__invoke() public méthode

Creates a Zend\View\Resolver\AggregateResolver and attaches the template map resolver and path stack resolver
public __invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : Zend\View\Resolver\AggregateResolver
$container Interop\Container\ContainerInterface
$name string
$options array
Résultat Zend\View\Resolver\AggregateResolver

createService() public méthode

For use with zend-servicemanager v2; proxies to __invoke().
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : Zend\View\Resolver\AggregateResolver
$container Zend\ServiceManager\ServiceLocatorInterface
Résultat Zend\View\Resolver\AggregateResolver