ZF-11209: Allow Zend_Feed_Writer_Entry to accept multiple enclosures

Description

Atom (and Zend_Feed_Atom) supports having arbitrarily many enclosures for an entry, but Zend_Feed_Writer does not.

Zend_Feed_Writer_Entry only has a {{setEnclosure}} method which can only accept one enclosure, and stores only a single enclosure, not an array.

If the Entry class accepted and stored multiple enclosures, the Atom renderer could render all of them, while the RSS renderer would render only the first.

Comments

No comments to display