HoldEntity
Class HoldEntity
Table of Contents
Constants
- TYPE_APP = 'A'
- TYPE_WEBHOOK = 'W'
Methods
- add() : array<string|int, mixed>
- Adds entity to hold list
- delete() : array<string|int, mixed>
- Delete entity from hold list
- get() : array<string|int, mixed>
- Returns list of hold entity
- is() : bool
- Checks entity in hold list
- reset() : bool
- Resets all hold entity
Constants
TYPE_APP
public
mixed
TYPE_APP
= 'A'
TYPE_WEBHOOK
public
mixed
TYPE_WEBHOOK
= 'W'
Methods
add()
Adds entity to hold list
public
static add(string $type, string $code) : array<string|int, mixed>
Parameters
- $type : string
- $code : string
Return values
array<string|int, mixed>delete()
Delete entity from hold list
public
static delete(string $type, string $code) : array<string|int, mixed>
Parameters
- $type : string
- $code : string
Return values
array<string|int, mixed>get()
Returns list of hold entity
public
static get() : array<string|int, mixed>
Return values
array<string|int, mixed>is()
Checks entity in hold list
public
static is(string $type, string $code) : bool
Parameters
- $type : string
- $code : string
Return values
boolreset()
Resets all hold entity
public
static reset() : bool