Documentation / Types
The Type
defines types as string, and is used as type definers throughout the library.
En extension may define its own types.
Available types
Type constant | PHP type |
---|---|
Type::ARRAY |
array |
Type::BOOLEAN |
boolean |
Type::INTEGER |
integer |
Type::NULL |
NULL |
Type::NUMBER |
double (float ) |
Type::OBJECT |
object |
Type::STRING |
string |
Requirements
PHP
^8.1