Phly\Mustache\Lexer::disableStripWhitespace PHP Метод

disableStripWhitespace() публичный Метод

Set or get the flag indicating whether or not to strip whitespace
public disableStripWhitespace ( null | boolean $flag = null ) : boolean | Lexer
$flag null | boolean Null indicates retrieving; boolean value sets
Результат boolean | Lexer
    public function disableStripWhitespace($flag = null)
    {
        if (null === $flag) {
            return !$this->stripWhitespaceFlag;
        }
        $this->stripWhitespaceFlag = !(bool) $flag;
        return $this;
    }