private function setContent($content) { if (is_string($content)) { $this->content = trim($content); } return $this; }