for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Nexendrie\Rss;
use Nexendrie\Utils\Collection as BaseCollection;
/**
* CategoriesCollection
*
* @author Jakub Konečný
*/
final class EnclosuresCollection extends BaseCollection implements IXmlConvertible {
/** @var string */
protected $class = Enclosure::class;
public function appendToXml(\SimpleXMLElement &$parent): void {
array_walk($this->items, function(Enclosure $value) use($parent) {
$value->appendToXml($parent);
});
}
?>