TypeIntersection
final class TypeIntersection extends Type
Methods
__construct(array $types)
No description
string
__toString()
No description
array
getNames()
Returns the array of subtypes that make up the compound type as strings.
array
getTypes()
Returns the array of subtypes that make up the compound type as Type objects:
bool
isIntersection()
Returns true whether it is an intersection type.
Details
at line 472
__construct(array $types)
No description
at line 478
string
__toString()
No description
at line 488
array
getNames()
Returns the array of subtypes that make up the compound type as strings.
at line 494
array
getTypes()
Returns the array of subtypes that make up the compound type as Type objects:
at line 500
bool
isIntersection()
Returns true whether it is an intersection type.