Zend Framework  3.0
Static Public Member Functions | Static Protected Member Functions | List of all members
FeedFactory Class Reference

Static Public Member Functions

static factory ($data)
 Create and return a Feed based on data provided.
 

Static Protected Member Functions

static convertKey ($key)
 Normalize a key.
 
static createEntries ($entries, Feed $feed)
 Create and attach entries to a feed.
 

Member Function Documentation

static convertKey (   $key)
staticprotected

Normalize a key.

Parameters
string$key
Returns
string
static createEntries (   $entries,
Feed  $feed 
)
staticprotected

Create and attach entries to a feed.

Parameters
array | Traversable$entries
Feed$feed
Exceptions
Exception\InvalidArgumentException
Returns
void
static factory (   $data)
static

Create and return a Feed based on data provided.

Parameters
array | Traversable$data
Exceptions
Exception\InvalidArgumentException
Returns
Feed