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

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

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

Метод Описание
__invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : Zend\View\Strategy\FeedStrategy Create and return the Feed view strategy
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : Zend\View\Strategy\FeedStrategy Create and return FeedStrategy instance

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

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

Retrieves the ViewFeedRenderer service from the service locator, and injects it into the constructor for the feed strategy. It then attaches the strategy to the View service, at a priority of 100.
public __invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : Zend\View\Strategy\FeedStrategy
$container Interop\Container\ContainerInterface
$name string
$options array
Результат Zend\View\Strategy\FeedStrategy

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

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