FastFeed\FastFeed::setFeed PHP Method

setFeed() public method

Set a channel
public setFeed ( string $channel, string $feed )
$channel string
$feed string
    public function setFeed($channel, $feed)
    {
        if (!is_string($channel)) {
            throw new LogicException('You tried to add a invalid channel.');
        }
        $this->feeds[$channel] = array();
        $this->addFeed($channel, $feed);
    }