Skip to content

Kirby 3.6.6

new BadMethodCallException()

Class constructor

new BadMethodCallException(array|string $args = [ ])

Parameters

Name Type Default Description
$args array|string [ ] Full option array ('key', 'translate', 'fallback',
'data', 'httpCode', 'details' and 'previous') or
just the message string

Parent class

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