SubRequest
in package
FinalYes
Table of Contents
Properties
- $data : array<string|int, mixed>
Methods
- __construct() : mixed
- add() : void
- all() : array<string|int, mixed>
- get() : string|null
- getAlnum() : string
- getArray() : array<string|int, mixed>
- getBool() : bool|null
- getDate() : string|null
- getDateTime() : string|null
- getEmail() : string|null
- getFloat() : float|null
- getHour() : string|null
- getInt() : int|null
- getOnly() : string|null
- getString() : string|null
- getUrl() : string|null
- has() : bool
- isMissing() : bool
- remove() : void
- set() : void
Properties
$data
private
array<string|int, mixed>
$data
Methods
__construct()
public
__construct(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
add()
public
add([array<string|int, mixed> $parameters = [] ]) : void
Parameters
- $parameters : array<string|int, mixed> = []
all()
public
all(string ...$key) : array<string|int, mixed>
Parameters
- $key : string
Return values
array<string|int, mixed>get()
public
get(string $key[, mixed $default = null ]) : string|null
Parameters
- $key : string
- $default : mixed = null
Return values
string|nullgetAlnum()
public
getAlnum(string $key) : string
Parameters
- $key : string
Return values
stringgetArray()
public
getArray(string $key) : array<string|int, mixed>
Parameters
- $key : string
Return values
array<string|int, mixed>getBool()
public
getBool(string $key[, bool|null $default = null ]) : bool|null
Parameters
- $key : string
- $default : bool|null = null
Return values
bool|nullgetDate()
public
getDate(string $key[, string|null $default = null ]) : string|null
Parameters
- $key : string
- $default : string|null = null
Return values
string|nullgetDateTime()
public
getDateTime(string $key[, string|null $default = null ]) : string|null
Parameters
- $key : string
- $default : string|null = null
Return values
string|nullgetEmail()
public
getEmail(string $key[, string|null $default = null ]) : string|null
Parameters
- $key : string
- $default : string|null = null
Return values
string|nullgetFloat()
public
getFloat(string $key[, float|null $default = null ]) : float|null
Parameters
- $key : string
- $default : float|null = null
Return values
float|nullgetHour()
public
getHour(string $key[, string|null $default = null ]) : string|null
Parameters
- $key : string
- $default : string|null = null
Return values
string|nullgetInt()
public
getInt(string $key[, int|null $default = null ]) : int|null
Parameters
- $key : string
- $default : int|null = null
Return values
int|nullgetOnly()
public
getOnly(string $key, array<string|int, mixed> $values) : string|null
Parameters
- $key : string
- $values : array<string|int, mixed>
Return values
string|nullgetString()
public
getString(string $key[, string|null $default = null ]) : string|null
Parameters
- $key : string
- $default : string|null = null
Return values
string|nullgetUrl()
public
getUrl(string $key[, string|null $default = null ]) : string|null
Parameters
- $key : string
- $default : string|null = null
Return values
string|nullhas()
public
has(string ...$key) : bool
Parameters
- $key : string
Return values
boolisMissing()
public
isMissing(string ...$key) : bool
Parameters
- $key : string
Return values
boolremove()
public
remove(string $key) : void
Parameters
- $key : string
set()
public
set(string $key, mixed $value) : void
Parameters
- $key : string
- $value : mixed