Methods |
public
|
__construct(
?string $namespace,
array<string, string> $uses,
?string $className = null,
?string $functionName = null,
?TemplateTypeMap $templateTypeMap = null,
array<string, true> $typeAliasesMap = [],
bool $bypassTypeAliases = false,
array<string, string> $constUses = [],
?string $typeAliasClassName = null,
)
Parameters
$uses |
alias(string) => fullName(string)
|
$constUses |
alias(string) => fullName(string)
|
|
#
|
public
|
getNamespace(): ?string
|
#
|
public
|
getUses(): array<string, string>
|
#
|
public
|
hasUseAlias(string $name): bool
|
#
|
public
|
getConstUses(): array<string, string>
|
#
|
public
|
getClassName(): ?string
|
#
|
public
|
getClassNameForTypeAlias(): ?string
|
#
|
public
|
resolveStringName(string $name): string
|
#
|
public
|
resolveConstantNames(string $name): non-empty-list<string>
|
#
|
public
|
getTemplateTypeScope(): ?TemplateTypeScope
|
#
|
public
|
getTemplateTypeMap(): TemplateTypeMap
|
#
|
public
|
resolveTemplateTypeName(string $name): ?Type
|
#
|
public
|
withTemplateTypeMap(TemplateTypeMap $map): self
|
#
|
public
|
unsetTemplateType(string $name): self
|
#
|
public
|
bypassTypeAliases(): self
|
#
|
public
|
shouldBypassTypeAliases(): bool
|
#
|
public
|
hasTypeAlias(string $alias): bool
|
#
|
public
static
|
__set_state(mixed[] $properties): self
|
#
|