Flesh out the aggregate class for channels.

This commit is contained in:
Dave Smith-Hayes 2024-12-31 09:59:48 -05:00
parent 25b9f2b798
commit 89b2fc0689

View File

@ -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);