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
string
- setDescription(string description)¶
- Parameters
$description (
string
) -- the description
- Return type
self
- getContent()¶
- Return type
string
- setContent(string content)¶
- Parameters
$content (
string
) -- the content
- Return type
self
- getLink()¶
- Return type
string
- setLink(string link)¶
- Parameters
$link (
string
) -- the link
- Return type
self
- getAuthors()¶
- Return type
array
- setAuthors(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
- getEnclosure()¶
- setEnclosure(Brotkrueml\\FeedGenerator\\Contract\\EnclosureInterface enclosure)¶
- Parameters
$enclosure (
Brotkrueml\FeedGenerator\Contract\EnclosureInterface
) -- the enclosure
- Return type
self