public function __construct($body, $title = null) { $this->body = $body; $this->title = trim($title); }