| Total Complexity | 5 |
| Total Lines | 65 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class AudioEpisode extends Post |
||
| 8 | { |
||
| 9 | private $explicit; |
||
| 10 | |||
| 11 | private $duration; |
||
| 12 | |||
| 13 | private $audioUrl; |
||
| 14 | |||
| 15 | private $audioCover; |
||
| 16 | |||
| 17 | public function __construct( |
||
| 18 | string $guid, |
||
| 19 | string $url, |
||
| 20 | string $title, |
||
| 21 | string $description, |
||
| 22 | string $author, |
||
| 23 | string $content, |
||
| 24 | string $category, |
||
| 25 | PostImageCollection $images, |
||
| 26 | array $tags, |
||
| 27 | DateTimeInterface $createdAt, |
||
| 28 | DateTimeInterface $updatedAt, |
||
| 29 | string $explicit, |
||
| 30 | string $duration, |
||
| 31 | string $audioUrl, |
||
| 32 | string $audioCover |
||
| 33 | ) { |
||
| 34 | parent::__construct( |
||
| 35 | $guid, |
||
| 36 | $url, |
||
| 37 | $title, |
||
| 38 | $description, |
||
| 39 | $author, |
||
| 40 | $content, |
||
| 41 | $category, |
||
| 42 | $images, |
||
| 43 | $tags, |
||
| 44 | $createdAt, |
||
| 45 | $updatedAt |
||
| 46 | ); |
||
| 47 | |||
| 48 | $this->explicit = $explicit; |
||
| 49 | $this->duration = $duration; |
||
| 50 | $this->audioUrl = $audioUrl; |
||
| 51 | $this->audioCover = $audioCover; |
||
| 52 | } |
||
| 53 | |||
| 54 | public function explicit(): string |
||
| 55 | { |
||
| 56 | return $this->explicit; |
||
| 57 | } |
||
| 58 | |||
| 59 | public function duration(): string |
||
| 62 | } |
||
| 63 | |||
| 64 | public function audioUrl(): string |
||
| 67 | } |
||
| 68 | |||
| 69 | public function audioCover(): string |
||
| 74 |