public function setContentString($contentString) { if (is_string($contentString)) { $this->contentString = $contentString; } return $this; }