Library/CodePrinter.php
public function preOutputBlankLine($ifPrevNotBlank = false)
    {
        if (!$ifPrevNotBlank) {
            $this->code = PHP_EOL.$this->code;
            $this->lastLine = PHP_EOL;
            ++$this->currentPrints;
        } else {
            if (trim($this->lastLine)) {
                $this->code = PHP_EOL.$this->code;
                $this->lastLine = PHP_EOL;
                ++$this->currentPrints;
            }
        }
    }
public function preOutputBlankLine($ifPrevNotBlank = false)
    {
        if (!$ifPrevNotBlank) {
            $this->code = PHP_EOL.$this->code;
            $this->lastLine = PHP_EOL;
            ++$this->currentPrints;
        } else {
            if (trim($this->lastLine)) {
                $this->code = PHP_EOL.$this->code;
                $this->lastLine = PHP_EOL;
                ++$this->currentPrints;
            }
        }
    }
public function preOutputBlankLine ( $ ifPrevNotBlank = false ) { if ( ! $ ifPrevNotBlank ) { $ this -> code = PHP_EOL . $ this -> code ; $ this -> lastLine = PHP_EOL ; ++ $ this -> currentPrints ; } else { if ( trim ( $ this -> lastLine ) ) { $ this -> code = PHP_EOL . $ this -> code ; $ this -> lastLine = PHP_EOL ; ++ $ this -> currentPrints ; } } }
Adds a blank line to the output
Optionally controlling if the blank link must be added if the
previous line added isn't one blank line too.

@param bool $ifPrevNotBlank
Adds a blank line to the output Optionally controlling if the blank link must be added if the previous line added isn t one blank line too .