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 |
|
| STRING |
|
| INT |
|
| FLOAT |
|
| BOOL |
|
| ARRAY |
|
| OBJECT |
|
| CALLABLE |
|
| ITERABLE |
|
| VOID |
|
| NEVER |
|
| MIXED |
|
| FALSE |
|
| NULL |
|
| SELF |
|
| PARENT |
|
| 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
Details
at line 89
static string
nullable(string $type, bool $nullable = true)
No description
at line 113
static string
union(string ...$types)
No description
at line 119
static string
intersection(string ...$types)
No description