ForbiddenException
extends Exception
in package
Class ForbiddenException Inherits from Exception Generated when a forbidden action is attempted
Tags
Table of Contents
- $title : string
- __construct() : mixed
- ForbiddenException constructor
- getTitle() : string
- Get the title of the exception
Properties
$title
private
static string
$title
Title of the exception
Methods
__construct()
ForbiddenException constructor
public
__construct([string $title = "Forbidden" ][, string $message = "Forbidden" ]) : mixed
Parameters
- $title : string = "Forbidden"
-
Title of the exception
- $message : string = "Forbidden"
-
Message of the exception
Return values
mixed —getTitle()
Get the title of the exception
public
getTitle() : string
Return values
string —Title of the exception