/** * Returns the feed associated with this subscription * @return bool|false|Entity|Feed */ function getFeedObject() { if ($feed_url = $this->getFeedURL()) { return Feed::getOne(array('feed_url' => $feed_url)); } return false; }