public function disableStripWhitespace($flag = null) { if (null === $flag) { return !$this->stripWhitespaceFlag; } $this->stripWhitespaceFlag = !(bool) $flag; return $this; }