/** * Check if this item matches the channel settings * * @param \Planetflow3\Domain\Model\Channel $channel * @return boolean */ public function matchesChannel(\Planetflow3\Domain\Model\Channel $channel) { return $this->matchesFilter($channel->getFilter()) && $this->matchesCategories($channel->getFetchedCategories()); }