PhpParser\PrettyPrinterAbstract::pNoIndent PHP Méthode

pNoIndent() protected méthode

Signals the pretty printer that a string shall not be indented.
protected pNoIndent ( string $string ) : string
$string string Not to be indented string
Résultat string String marked with $this->noIndentToken's.
    protected function pNoIndent($string)
    {
        return str_replace("\n", "\n" . $this->noIndentToken, $string);
    }