Skip to content

Kirby 5.0.4

$badMethodCallException->getHttpCode()

Returns the HTTP code that corresponds with the exception

$badMethodCallException->getHttpCode(): int

Return type

int

This method modifies the existing $badmethodcallexception object it is applied to and returns it again.

Parent class

Kirby\Exception\BadMethodCallException inherited from Kirby\Exception\Exception