public function addFeed($channel, $feed)
    {
        if (!filter_var($feed, FILTER_VALIDATE_URL)) {
            throw new LogicException('You tried to add a invalid url.');
        }
        $this->feeds[$channel][] = $feed;
    }
public function addFeed($channel, $feed)
    {
        if (!filter_var($feed, FILTER_VALIDATE_URL)) {
            throw new LogicException('You tried to add a invalid url.');
        }
        $this->feeds[$channel][] = $feed;
    }
public function addFeed ( $ channel , $ feed ) { if ( ! filter_var ( $ feed , FILTER_VALIDATE_URL ) ) { throw new LogicException ( 'You tried to add a invalid url.' ) ; } $ this -> feeds [ $ channel ] [ ] = $ feed ; }
Add feed to channel

@param string $channel
@param string $feed

@throws LogicException
Add feed to channel