UserVatDetectFoundException
extends ResourceNotFoundException
in package
Table of Contents
Constants
- KEY_DETAIL = 'detail'
- KEY_DETAIL_MESSAGES = 'detail_messages'
- KEY_ID_FIELD = 'resource_id_field'
- KEY_ID_VALUE = 'resource_id_value'
- KEY_RESOURCE_TYPE = 'resource_type'
- RESOURCE_TYPE = 'user_vat_detect'
- TITLE = 'resource-not-found'
Properties
- $body : mixed
- $statusCode : mixed
Methods
- __construct() : mixed
- getBody() : string
- Return the body message.
- getDetail() : string|null
- getDetailMessages() : array<string|int, mixed>|null
- getStatusCode() : int
- getTitle() : string|null
- setBody() : self
- Define a body message.
- setDetail() : mixed
- setDetailMessages() : mixed
- setTitle() : mixed
Constants
KEY_DETAIL
public
mixed
KEY_DETAIL
= 'detail'
KEY_DETAIL_MESSAGES
public
mixed
KEY_DETAIL_MESSAGES
= 'detail_messages'
KEY_ID_FIELD
public
mixed
KEY_ID_FIELD
= 'resource_id_field'
KEY_ID_VALUE
public
mixed
KEY_ID_VALUE
= 'resource_id_value'
KEY_RESOURCE_TYPE
public
mixed
KEY_RESOURCE_TYPE
= 'resource_type'
RESOURCE_TYPE
public
mixed
RESOURCE_TYPE
= 'user_vat_detect'
TITLE
public
mixed
TITLE
= 'resource-not-found'
Properties
$body
protected
mixed
$body
= []
$statusCode
protected
mixed
$statusCode
= self::HTTP_500_INTERNAL_SERVER_ERROR
Methods
__construct()
public
__construct() : mixed
getBody()
Return the body message.
public
getBody() : string
Return values
stringgetDetail()
public
getDetail() : string|null
Return values
string|nullgetDetailMessages()
public
getDetailMessages() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetStatusCode()
public
getStatusCode() : int
Return values
intgetTitle()
public
getTitle() : string|null
Return values
string|nullsetBody()
Define a body message.
public
setBody(array<string|int, mixed> $body) : self
Parameters
- $body : array<string|int, mixed>
Return values
selfsetDetail()
public
setDetail(string|null $detail) : mixed
Parameters
- $detail : string|null
setDetailMessages()
public
setDetailMessages(array<string|int, mixed>|null $detailMessages) : mixed
Parameters
- $detailMessages : array<string|int, mixed>|null
setTitle()
public
setTitle(string|null $title) : mixed
Parameters
- $title : string|null