public function addSummary($value, $type = 'text')
    {
        /** @var Summary $element */
        $element = $this->addChild('atom:summary', 'summary');
        $element->setContent($value, $type);

        return $element;
    }
public function addSummary($value, $type = 'text')
    {
        /** @var Summary $element */
        $element = $this->addChild('atom:summary', 'summary');
        $element->setContent($value, $type);

        return $element;
    }
public function addSummary ( $ value , $ type = 'text' ) { /** @var Summary $element */ $ element = $ this -> addChild ( 'atom:summary' , 'summary' ) ; $ element -> setContent ( $ value , $ type ) ; return $ element ; }
Add summary.

@param string $value
@param string $type

@return Summary

@since 1.0
Add summary .