PHP 클래스 Zend\Mvc\Service\ViewTemplatePathStackFactory

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

공개 메소드들

메소드 설명
__invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : Zend\View\Resolver\TemplatePathStack Create the template path stack view resolver
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : Zend\View\Resolver\TemplatePathStack Create and return ViewResolver\TemplatePathStack instance

메소드 상세

__invoke() 공개 메소드

Creates a Zend\View\Resolver\TemplatePathStack and populates it with the ['view_manager']['template_path_stack'] and sets the default suffix with the ['view_manager']['default_template_suffix']
public __invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : Zend\View\Resolver\TemplatePathStack
$container Interop\Container\ContainerInterface
$name string
$options array
리턴 Zend\View\Resolver\TemplatePathStack

createService() 공개 메소드

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