Methods | ||
---|---|---|
public
|
__construct(array<string, Type> $types, array<string, Type> $lowerBoundTypes = [])
|
# |
public
|
convertToLowerBoundTypes(): self
|
# |
public
static
|
createEmpty(): self
|
# |
public
|
isEmpty(): bool
|
# |
public
|
count(): int
|
# |
public
|
getTypes(): array<string, Type>
|
# |
public
|
hasType(string $name): bool
|
# |
public
|
getType(string $name): ?Type
|
# |
public
|
unsetType(string $name): self
|
# |
public
|
union(self $other): self
|
# |
public
|
benevolentUnion(self $other): self
|
# |
public
|
intersect(self $other): self
|
# |
public
|
map(callable(string, Type): Type $cb): self
|
# |
public
|
resolveToBounds(): self
|
# |
public
static
|
__set_state(mixed[] $properties): self
|
# |