Table of Contents
Properties
-
$key
: string|null
-
$optional
: bool
-
$value
: Type
Methods
-
__construct()
: mixed
-
__toString()
: string
-
getKey()
: string|null
-
getValue()
: Type
-
isOptional()
: bool
$key
private
string|null
$key
$optional
private
bool
$optional
$value
private
Type
$value
__construct()
public
__construct(string|null $key, Type|null $value, bool $optional) : mixed
Parameters
-
$key
: string|null
-
-
$value
: Type|null
-
-
$optional
: bool
-
__toString()
public
__toString() : string
getKey()
public
getKey() : string|null
Return values
string|null
getValue()
public
getValue() : Type
isOptional()
public
isOptional() : bool