Изменить 'src/Episode.php'

This commit is contained in:
Evgeny Kuchuk 2021-08-12 16:20:46 +00:00
parent 84aecd3bf2
commit 59b3552ab7

View File

@ -46,6 +46,11 @@ class Episode
*/
protected $duration;
/**
* @var string
*/
protected $author;
/**
* @var Media
*/
@ -56,6 +61,24 @@ class Episode
*/
protected $publishedDate;
/**
* @return string
*/
public function getAuthor()
{
return $this->$author;
}
/**
* @param string $author
* @return Episode
*/
public function setAuthor($author)
{
$this->$author = $author;
return $this;
}
/**
* @return string
*/