src/ClassGeneration/Method.php
public function toStringCode()
    {
        if (!$this->isInterface() && !$this->isAbstract()) {
            $tabulationFormatted = $this->getTabulationFormatted();
            $code = PHP_EOL . $tabulationFormatted
                . '{'
                . $this->codeToString()
                . $tabulationFormatted
                . '}';

            return $code;
        }

        return ';';
    }
public function toStringCode()
    {
        if (!$this->isInterface() && !$this->isAbstract()) {
            $tabulationFormatted = $this->getTabulationFormatted();
            $code = PHP_EOL . $tabulationFormatted
                . '{'
                . $this->codeToString()
                . $tabulationFormatted
                . '}';

            return $code;
        }

        return ';';
    }
public function toStringCode ( ) { if ( ! $ this -> isInterface ( ) && ! $ this -> isAbstract ( ) ) { $ tabulationFormatted = $ this -> getTabulationFormatted ( ) ; $ code = PHP_EOL . $ tabulationFormatted . '{' . $ this -> codeToString ( ) . $ tabulationFormatted . '}' ; return $ code ; } return ';' ; }
Get string code.
@return string
Get string code .