| Methods |
public
|
__construct(
non-empty-string $name,
Type $bound,
?Type $default,
TemplateTypeVariance $variance,
non-empty-list<non-empty-string>|null $circularBoundPath = null,
non-empty-list<non-empty-string>|null $circularDefaultPath = null,
)
|
#
|
public
|
getName(): non-empty-string
|
#
|
public
|
getBound(): Type
|
#
|
public
|
getDefault(): ?Type
|
#
|
public
|
getVariance(): TemplateTypeVariance
|
#
|
public
|
getCircularBoundPath(): non-empty-list<non-empty-string>|null
The templates the written bound leads through back to this one, e.g. [A, B, A]
for @template A of B and @template B of A. The bound is then mixed.
The templates the written bound leads through back to this one, e.g. [A, B, A]
for @template A of B and @template B of A. The bound is then mixed.
|
#
|
public
|
getCircularDefaultPath(): non-empty-list<non-empty-string>|null
Like getCircularBoundPath() for the default, which is then null.
Like getCircularBoundPath() for the default, which is then null.
|
#
|