Skip to content

ValueType


Inherited methods

array

Get the specified array value.

public array(string $key, callable|array<array-key,mixed>|null $default = null): array

Parameters:

Parameter Type Description
$key string
$default callable|array|null

Throws:


boolean

Get the specified boolean value.

public boolean(string $key, callable|bool|null $default = null): bool

Parameters:

Parameter Type Description
$key string
$default callable|bool|null

Throws:


float

Get the specified float value.

public float(string $key, callable|float|null $default = null): float

Parameters:

Parameter Type Description
$key string
$default callable|float|null

Throws:


integer

Get the specified integer value.

public integer(string $key, callable|int|null $default = null): int

Parameters:

Parameter Type Description
$key string
$default callable|int|null

Throws:


string

Get the specified string value.

public string(string $key, callable|string|null $default = null): string

Parameters:

Parameter Type Description
$key string
$default callable|string|null

Throws: