Zend\Mvc\Controller\Plugin\AcceptableViewModelSelector::setDefaultMatchAgainst
Set the default Accept Types and View Model combinations to match against if none are specified.
Signature
public function setDefaultMatchAgainst([array
$matchAgainst = null] )
Parameters
$matchAgainst
— array- (optional) The Array to match against
Returns
- AcceptableViewModelSelector
- provides fluent interface