Изменить 'src/Episode.php'
This commit is contained in:
parent
84aecd3bf2
commit
59b3552ab7
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user