PHP Класс Zend\Mvc\Service\ViewManagerFactory

Наследование: implements Zend\ServiceManager\FactoryInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : ViewManager Create and return a view manager.
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : ViewManager Create and return HttpViewManager.

Описание методов

__invoke() публичный Метод

Create and return a view manager.
public __invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : ViewManager
$container Interop\Container\ContainerInterface
$name string
$options array
Результат Zend\Mvc\View\Http\ViewManager

createService() публичный Метод

For use with zend-servicemanager v2; proxies to __invoke().
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : ViewManager
$container Zend\ServiceManager\ServiceLocatorInterface
Результат Zend\Mvc\View\Http\ViewManager