package Default

 Methods

Create and return a Feed based on data provided.

factory(array|\Traversable $data) : \Zend\Feed\Writer\Feed
Static

Parameters

$data

array\Traversable

Exceptions

\Zend\Feed\Writer\Exception\InvalidArgumentException

Returns

\Zend\Feed\Writer\Feed

Normalize a key

convertKey(string $key) : string
Static

Parameters

$key

string

Returns

string

Create and attach entries to a feed

createEntries(array|\Traversable $entries, \Zend\Feed\Writer\Feed $feed) : void
Static

Parameters

$entries

array\Traversable

$feed

\Zend\Feed\Writer\Feed

Exceptions

\Zend\Feed\Writer\Exception\InvalidArgumentException