Source of file Episode.php
Size: 2,587 Bytes - Last Modified: 2020-12-03T06:34:27+00:00
/home/vagrant/Code/projects/podcast-feed-parser/src/Episode.php
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 | <?php namespace Lukaswhite\PodcastFeedParser; use Lukaswhite\PodcastFeedParser\Traits\HasArtwork; use Lukaswhite\PodcastFeedParser\Traits\HasDescription; use Lukaswhite\PodcastFeedParser\Traits\HasExplicit; use Lukaswhite\PodcastFeedParser\Traits\HasLink; use Lukaswhite\PodcastFeedParser\Traits\HasTitles; class Episode { use HasTitles , HasDescription , HasArtwork , HasLink , HasExplicit; /** * @var string */ protected $guid; /** * @var string */ protected $type; /** * @var int */ protected $episodeNumber; /** * @var int */ protected $season; /** * @var Media */ protected $media; /** * @var \DateTime */ protected $publishedDate; /** * @return string */ public function getGuid() { return $this->guid; } /** * @param string $guid * @return Episode */ public function setGuid($guid) { $this->guid = $guid; return $this; } /** * @return string */ public function getType() { return $this->type; } /** * @param string $type * @return Episode */ public function setType($type) { $this->type = $type; return $this; } /** * @return int */ public function getEpisodeNumber() { return $this->episodeNumber; } /** * @param int $episodeNumber * @return Episode */ public function setEpisodeNumber($episodeNumber) { $this->episodeNumber = $episodeNumber; return $this; } /** * @return int */ public function getSeason() { return $this->season; } /** * @param int $season * @return Episode */ public function setSeason($season) { $this->season = $season; return $this; } /** * @return Media */ public function getMedia() { return $this->media; } /** * @param Media $media * @return Episode */ public function setMedia($media) { $this->media = $media; return $this; } /** * @return \DateTime */ public function getPublishedDate() { return $this->publishedDate; } /** * @param \DateTime $publishedDate * @return Episode */ public function setPublishedDate($publishedDate) { $this->publishedDate = $publishedDate; return $this; } } |