Zend\View\View::addRenderingStrategy
Add a rendering strategy
Expects a callable. Strategies should accept a ViewEvent object, and should return a Renderer instance if the strategy is selected. Internally, the callable provided will be subscribed to the "renderer" event, at the priority specified.
Signature
public function addRenderingStrategy(callable
$callable,
[integer
$priority = 1] )
Parameters
$callable
— object
$priority
— integer
Returns
- View