CompositeTypeInterface
in
Represents a type composed of several other types.
Tags
Table of Contents
Methods
- composedTypesAreSatisfiedBy() : bool
- getTypes() : array<int, T>
Methods
composedTypesAreSatisfiedBy()
public
composedTypesAreSatisfiedBy(callable(Type): bool $specification) : bool
Parameters
- $specification : callable(Type): bool
Return values
boolgetTypes()
public
getTypes() : array<int, T>