Type
class Type
PHP return, property and parameter types.
Constants
String |
|
Int |
|
Float |
|
Bool |
|
Array |
|
Object |
|
Callable |
|
Iterable |
|
Void |
|
Never |
|
Mixed |
|
True |
|
False |
|
Null |
|
Self |
|
Parent |
|
Static |
|
deprecated STRING |
|
deprecated INT |
|
deprecated FLOAT |
|
deprecated BOOL |
|
deprecated ARRAY |
|
deprecated OBJECT |
|
deprecated CALLABLE |
|
deprecated ITERABLE |
|
deprecated VOID |
|
deprecated NEVER |
|
deprecated MIXED |
|
deprecated FALSE |
|
deprecated NULL |
|
deprecated SELF |
|
deprecated PARENT |
|
deprecated STATIC |
|
Methods
static string
nullable(string $type, bool $nullable = true)
No description
static string
union(string ...$types)
No description
static string
intersection(string ...$types)
No description
static string|null
Details
at line 86
static string
nullable(string $type, bool $nullable = true)
No description
at line 92
static string
union(string ...$types)
No description
at line 98
static string
intersection(string ...$types)
No description
at line 105
static string|null
getType(mixed $value)
deprecated
deprecated
No description