Class ViewFeedStrategyFactory

Summary

Fully Qualified Name: Zend\Mvc\Service\ViewFeedStrategyFactory
Implements: FactoryInterface

Description

Methods

Name Description Defined By
__invoke() Create and return the Feed view strategy ViewFeedStrategyFactory

Method Details

__invoke()

Create and return the Feed view strategy

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.

Parameter Name Type Description
$container \ContainerInterface
$name string
$options null|array

Returns: \FeedStrategy

Top