public function send() { $this->sendHeaders(); if ($this->content !== null) { echo $this->getContent(); } }