Brotkrueml\FeedGenerator\Collection\Collection

class Brotkrueml\FeedGenerator\Collection\Collection
add(Brotkrueml\\FeedGenerator\\Contract\\AttachmentInterface|Brotkrueml\\FeedGenerator\\Contract\\AuthorInterface|Brotkrueml\\FeedGenerator\\Contract\\CategoryInterface|Brotkrueml\\FeedGenerator\\Contract\\ItemInterface items)
Return type

self

get(int index)
Parameters
  • $index (int) -- the index

Return type

Brotkrueml\FeedGenerator\Contract\AttachmentInterface|Brotkrueml\FeedGenerator\Contract\AuthorInterface|Brotkrueml\FeedGenerator\Contract\CategoryInterface|Brotkrueml\FeedGenerator\Contract\ItemInterface

isEmpty()
Return type

bool

getIterator()
Return type

Traversable