Skip to content

Kirby 5.0.4

$badMethodCallException->getFileRelative()

Returns the file in which the Exception was created relative to the document root

$badMethodCallException->getFileRelative(): string

Return type

string

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