private function _contentType() { if (!isset($this->_contentType)) { $this->_contentType = explode(';', $_SERVER['CONTENT_TYPE'])[0]; } return $this->_contentType; }