Type
class Type
PHP return, property and parameter types.
Constants
| STRING |
|
| INT |
|
| FLOAT |
|
| BOOL |
|
| ARRAY |
|
| OBJECT |
|
| CALLABLE |
|
| ITERABLE |
|
| VOID |
|
| MIXED |
|
| FALSE |
|
| NULL |
|
| SELF |
|
| PARENT |
|
| STATIC |
|
Methods
static string
nullable(string $type, bool $state = true)
No description
static string
union(string ...$types)
No description
static string|null
getType($value)
No description
Details
at line 36
static string
nullable(string $type, bool $state = true)
No description
at line 42
static string
union(string ...$types)
No description
at line 48
static string|null
getType($value)
No description