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