Symfony\Component\HttpKernel\Exception\UnsupportedMediaTypeHttpException::__construct
Constructor.
Signature
public function __construct([string
$message = null,
[Exception
$previous = null,
[integer
$code = 0]]] )
Parameters
$message
— string- The internal exception message
$previous
— \Exception- The previous exception
$code
— integer- The internal exception code