public function getText()
    {
        if (! $this->text) {
            throw new \Org\Heigl\Hyphenator\Exception\NoPatternSetException('No Pattern set');
        }

        return $this->text;
    }
public function getText()
    {
        if (! $this->text) {
            throw new \Org\Heigl\Hyphenator\Exception\NoPatternSetException('No Pattern set');
        }

        return $this->text;
    }
public function getText ( ) { if ( ! $ this -> text ) { throw new \ Org \ Heigl \ Hyphenator \ Exception \ NoPatternSetException ( 'No Pattern set' ) ; } return $ this -> text ; }
Get the text of the pattern

@throws \Org\Heigl\Hyphenator\Exception\NoPatternSetException
@return string
Get the text of the pattern