TypeIdentifier
: string
in package
Identifier of a PHP native type.
Tags
Table of Contents
Cases
- ARRAY = 'array'
- BOOL = 'bool'
- CALLABLE = 'callable'
- FALSE = 'false'
- FLOAT = 'float'
- INT = 'int'
- ITERABLE = 'iterable'
- MIXED = 'mixed'
- NEVER = 'never'
- NULL = 'null'
- OBJECT = 'object'
- RESOURCE = 'resource'
- STRING = 'string'
- TRUE = 'true'
- VOID = 'void'
Methods
- isBool() : bool
- isScalar() : bool
- isStandalone() : bool
- values() : array<int, string>
Cases
ARRAY
BOOL
CALLABLE
FALSE
FLOAT
INT
ITERABLE
MIXED
NULL
OBJECT
RESOURCE
STRING
TRUE
NEVER
VOID
Methods
isBool()
public
isBool() : bool
Return values
boolisScalar()
public
isScalar() : bool
Return values
boolisStandalone()
public
isStandalone() : bool
Return values
boolvalues()
public
static values() : array<int, string>