protected function addFragment($fragment) { if ($fragment && $fragment !== ' ') { $this->fragments[] = $fragment; } }