diff --git a/app/src/Domain/Aggregate/ChannelAggregate.php b/app/src/Domain/Aggregate/ChannelAggregate.php index d6c543b..77bf1f8 100644 --- a/app/src/Domain/Aggregate/ChannelAggregate.php +++ b/app/src/Domain/Aggregate/ChannelAggregate.php @@ -18,6 +18,11 @@ class ChannelAggregate $this->setEpisodes($episodes); } + public function getChannel(): Channel + { + return $this->channel; + } + public function hasEpisodes(): bool { return (bool) count($this->episodes);