PHP 클래스 Zend\Mvc\Service\ViewResolverFactory

상속: implements Zend\ServiceManager\FactoryInterface
파일 보기 프로젝트 열기: zendframework/zend-mvc

공개 메소드들

메소드 설명
__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

메소드 상세

__invoke() 공개 메소드

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
리턴 Zend\View\Resolver\AggregateResolver

createService() 공개 메소드

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