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

Parameters

array $types

at line 478
string __toString()

No description

Return Value

string

at line 488
array getNames()

Returns the array of subtypes that make up the compound type as strings.

Return Value

array

at line 494
array getTypes()

Returns the array of subtypes that make up the compound type as Type objects:

Return Value

array

at line 500
bool isIntersection()

Returns true whether it is an intersection type.

Return Value

bool