public function getFeed($name)
    {
        if (!isset($this->feeds[$name])) {
            throw new \InvalidArgumentException(sprintf('Feed "%s" is not registered', $name));
        }

        return $this->feeds[$name];
    }
public function getFeed($name)
    {
        if (!isset($this->feeds[$name])) {
            throw new \InvalidArgumentException(sprintf('Feed "%s" is not registered', $name));
        }

        return $this->feeds[$name];
    }
public function getFeed ( $ name ) { if ( ! isset ( $ this -> feeds [ $ name ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Feed "%s" is not registered' , $ name ) ) ; } return $ this -> feeds [ $ name ] ; }
Returns feed class.

@param string $name

@return FeedInterface

@throws \InvalidArgumentException
Returns feed class .