Brotkrueml\FeedGenerator\Entity\Item

class Brotkrueml\FeedGenerator\Entity\Item
getId()
Return type

string

setId(string id)
Parameters
  • $id (string) -- the id

Return type

self

getTitle()
Return type

string

setTitle(string title)
Parameters
  • $title (string) -- the title

Return type

self

getDescription()
Return type

Brotkrueml\FeedGenerator\Contract\TextInterface|string

setDescription(Brotkrueml\\FeedGenerator\\Contract\\TextInterface|string description)
Parameters
  • $description (Brotkrueml\FeedGenerator\Contract\TextInterface|string) -- the description

Return type

self

getContent()
Return type

string

setContent(string content)
Parameters
  • $content (string) -- the content

Return type

self

Return type

string

Parameters
  • $link (string) -- the link

Return type

self

getAuthors()
Return type

Brotkrueml\FeedGenerator\Collection\Collection

addAuthors(Brotkrueml\\FeedGenerator\\Contract\\AuthorInterface authors)
Return type

self

getDatePublished()
Return type

DateTimeInterface

setDatePublished(DateTimeInterface datePublished)
Parameters
  • $datePublished (DateTimeInterface) -- the datePublished

Return type

self

getDateModified()
Return type

DateTimeInterface

setDateModified(DateTimeInterface dateModified)
Parameters
  • $dateModified (DateTimeInterface) -- the dateModified

Return type

self

getAttachments()
Return type

Brotkrueml\FeedGenerator\Collection\Collection

addAttachments(Brotkrueml\\FeedGenerator\\Contract\\AttachmentInterface attachments)
Return type

self

getCategories()
Return type

Brotkrueml\FeedGenerator\Collection\Collection

addCategories(Brotkrueml\\FeedGenerator\\Contract\\CategoryInterface categories)
Return type

self

addExtensionContents(Brotkrueml\\FeedGenerator\\Contract\\ExtensionContentInterface contents)
Return type

self

getExtensionContents()
Return type

Brotkrueml\FeedGenerator\Collection\Collection