PHP Class Gc\Mvc\Factory\ViewTemplatePathStackFactory

Inheritance: implements Zend\ServiceManager\FactoryInterface
Exibir arquivo Open project: gotcms/gotcms

Public Methods

Method Description
createService ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator ) : TemplatePathStack Create the template map view resolver

Method Details

createService() public method

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 createService ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator ) : TemplatePathStack
$serviceLocator Zend\ServiceManager\ServiceLocatorInterface Service Locator
return Gc\View\Resolver\TemplatePathStack