'Application/Json'); protected function sendContent() { echo json_encode($this->content); } }