protected function setParam(\SimpleXMLElement $element, Feed $feed)
    {
        if (count($element) === 0) {
            $feed->set($element->getName(), (string)$element);
        } else {
            $feed->set($element->getName(), $this->extractParam($element));
        }
    }
protected function setParam(\SimpleXMLElement $element, Feed $feed)
    {
        if (count($element) === 0) {
            $feed->set($element->getName(), (string)$element);
        } else {
            $feed->set($element->getName(), $this->extractParam($element));
        }
    }
protected function setParam ( \ SimpleXMLElement $ element , Feed $ feed ) { if ( count ( $ element ) === 0 ) { $ feed -> set ( $ element -> getName ( ) , ( string ) $ element ) ; } else { $ feed -> set ( $ element -> getName ( ) , $ this -> extractParam ( $ element ) ) ; } }
Set a feed param

@param \SimpleXMLElement        $element
@param \Nekland\Bundle\FeedBundle\Feed $feed
@return void
Set a feed param