Methods |
protected
|
__construct(
string $tag,
?string $name = null,
?string $type = null,
?string $description = null,
class-string|null $class = null,
?string $member = null,
array<string, class-string> $aliases = [],
)
|
#
|
public
|
getTag(): string
Get the name of the tag
|
#
|
public
|
getName(): ?string
Get the name of the entity associated with the tag
Get the name of the entity associated with the tag
Overriden by
|
#
|
public
|
getType(): ?string
Get the PHPDoc type of the entity associated with the tag
Get the PHPDoc type of the entity associated with the tag
Overriden by
|
#
|
public
|
getDescription(): ?string
Get the description of the tag
Get the description of the tag
Overriden by
|
#
|
public
|
getClass(): class-string|null
Get the name of the class associated with the tag's PHPDoc
Get the name of the class associated with the tag's PHPDoc
|
#
|
public
|
getMember(): ?string
Get the class member associated with the tag's PHPDoc
Get the class member associated with the tag's PHPDoc
|
#
|
public
|
withDescription(?string $description): static
Get an instance with the given description
Get an instance with the given description
Overriden by
|
#
|
public
|
inherit(static $parent): static
Add missing values from an instance that represents the same entity in a
parent class or interface
Add missing values from an instance that represents the same entity in a
parent class or interface
|
#
|
final
protected
|
maybeInheritValue(static $parent, string $property): static
|
#
|
final
protected
|
filterTag(string $tag): string
|
#
|
final
protected
|
filterClass<T is string|null>(T $class): T
|
#
|
final
protected
|
filterMember<T is string|null>(T $member): T
|
#
|
final
protected
|
filterType<T is string|null>(T $type, array<string, class-string> $aliases = []): T
|
#
|
final
protected
|
filterString<T is string|null>(T $value, string $name): T
|
#
|
final
protected
|
throw(string $message, string|int|float ...$args): never
|
#
|
abstract
public
|
__toString(): non-empty-string
Implements
Implemented by
|
#
|