public function headers() { if (!isset($this->_headers)) { $this->_headers = getallheaders(); } return $this->_headers; }