src/Mpociot/Reflection/DocBlock.php
public function getText()
    {
        $short = $this->getShortDescription();
        $long = $this->getLongDescription()->getContents();

        if ($long) {
            return "{$short}\n\n{$long}";
        } else {
            return $short;
        }
    }
public function getText()
    {
        $short = $this->getShortDescription();
        $long = $this->getLongDescription()->getContents();

        if ($long) {
            return "{$short}\n\n{$long}";
        } else {
            return $short;
        }
    }
public function getText ( ) { $ short = $ this -> getShortDescription ( ) ; $ long = $ this -> getLongDescription ( ) -> getContents ( ) ; if ( $ long ) { return "{$short}\n\n{$long}" ; } else { return $ short ; } }
Gets the text portion of the doc block.

Gets the text portion (short and long description combined) of the doc
block.

@return string The text portion of the doc block.
Gets the text portion of the doc block .