original_string: protected function failTypeNegotiation()
      {
  		$supported =  Request\TypeSupport::getSupport();
  		$clientSupport =  Request\AcceptType::getContent();
  
  		$supported = implode(',', $supported);
  		$clientSupport = implode(',',$clientSupport);
  
  		$this->withStatus(406)->withType(Response\ContentType::TEXT)
  		->write("NOT SUPPORTED\nThis server does not support {$supported}.\nSupported formats: {$clientSupport}")
  		->send();
  		exit(1);
  	}
code: protected function failTypeNegotiation()
      {
  		$supported =  Request\TypeSupport::getSupport();
  		$clientSupport =  Request\AcceptType::getContent();
  
  		$supported = implode(',', $supported);
  		$clientSupport = implode(',',$clientSupport);
  
  		$this->withStatus(406)->withType(Response\ContentType::TEXT)
  		->write("NOT SUPPORTED\nThis server does not support {$supported}.\nSupported formats: {$clientSupport}")
  		->send();
  		exit(1);
  	}
code_tokens: protected function failTypeNegotiation ( ) { $ supported = Request \ TypeSupport :: getSupport ( ) ; $ clientSupport = Request \ AcceptType :: getContent ( ) ; $ supported = implode ( ',' , $ supported ) ; $ clientSupport = implode ( ',' , $ clientSupport ) ; $ this -> withStatus ( 406 ) -> withType ( Response \ ContentType :: TEXT ) -> write ( "NOT SUPPORTED\nThis server does not support {$supported}.\nSupported formats: {$clientSupport}" ) -> send ( ) ; exit ( 1 ) ; }
docstring: Send a 406 response for failed content negotiation
docstring_tokens: Send a 406 response for failed content negotiation