NoPermittedToApi
extends Security
in package
No permitted to api exception class.
Tags
Table of Contents
- __construct() : mixed
- {@inheritdoc}
- getDisplayMessage() : string
- Gets the display exception message.
- stop() : mixed
- Display message.
Methods
__construct()
{@inheritdoc}
public
__construct([mixed $message = '' ][, mixed $code = 406 ][, Throwable $previous = null ]) : mixed
Parameters
- $message : mixed = ''
- $code : mixed = 406
- $previous : Throwable = null
Return values
mixed —getDisplayMessage()
Gets the display exception message.
public
getDisplayMessage() : string
Return values
string —stop()
Display message.
public
stop(string $message) : mixed
Parameters
- $message : string