classe MethodNotAllowedException étends HttpException (Voir la source)

Propriétés

protected string $status

Define the status code has message

depuis  HttpException

Méthodes

__construct(string $message, string $status = 'METHOD_NOT_ALLOWED')

MethodNotAllowedException constructor

string
getStatus()

Get the define user error code

string
getStatusCode()

Get the status code

Détails

__construct(string $message, string $status = 'METHOD_NOT_ALLOWED')

MethodNotAllowedException constructor

Paramètres

string $message
string $status

string getStatus()

Get the define user error code

Valeur de retour

string

string getStatusCode()

Get the status code

Valeur de retour

string