Zend\Feed\Writer\AbstractFeed::setType
Set the current feed type being exported to "rss" or "atom". This allows other objects to gracefully choose whether to execute or not, depending on their appropriateness for the current type, e.g. renderers.
Signature
public function setType(string
$type )
Parameters
$type
— string
Returns
- AbstractFeed