final |
|---|
Type Definition syntax
| Methods | ||
|---|---|---|
public
|
__construct()
|
# |
public
static
|
parse(string $def): TypeDefinition
|
# |
public
|
__get($name)
|
# |
| Constants | ||
|---|---|---|
public
|
RE_PROPERTY = '/^(\??)([^\s\[\]?]+)((?:\[(\d*)\])?)$/'
|
# |
| Properties | |||
|---|---|---|---|
public
readonly
|
string
|
$expected
|
# |
public
readonly
|
bool
|
$is_nullable
|
# |
public
readonly
|
bool
|
$is_array
|
# |
public
readonly
|
int|null
|
$len
|
# |