src/ClassGeneration/Method.php
protected function toStringFunction()
    {
        $string = ($this->isFinal() ? 'final ' : '')
            . ($this->isAbstract() ? 'abstract ' : '')
            . $this->getVisibility() . ' '
            . ($this->isStatic() ? 'static ' : '')
            . 'function ';

        return $string;
    }
protected function toStringFunction()
    {
        $string = ($this->isFinal() ? 'final ' : '')
            . ($this->isAbstract() ? 'abstract ' : '')
            . $this->getVisibility() . ' '
            . ($this->isStatic() ? 'static ' : '')
            . 'function ';

        return $string;
    }
protected function toStringFunction ( ) { $ string = ( $ this -> isFinal ( ) ? 'final ' : '' ) . ( $ this -> isAbstract ( ) ? 'abstract ' : '' ) . $ this -> getVisibility ( ) . ' ' . ( $ this -> isStatic ( ) ? 'static ' : '' ) . 'function ' ; return $ string ; }
Get string with method type.
@return string
Get string with method type .