Skip to content

Kirby 5.2.0

$lockedContentException->getHttpCode()

Returns the HTTP code that corresponds with the exception

$lockedContentException->getHttpCode(): int

Return type

int

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

Parent class

Kirby\Content\LockedContentException inherited from Kirby\Exception\Exception