content = $content; return $this; } public function setFrameable($frameable) { $this->frameable = $frameable; return $this; } public function buildResponseString() { return $this->content; } public function getHeaders() { $headers = array( array('Content-Type', 'text/html; charset=UTF-8'), ); if (!$this->frameable) { $headers[] = array('X-Frame-Options', 'Deny'); } return $headers; } }