Parses a tag definition for a DocBlock.
CloneableFinalInstantiable
Methods |
public __construct(string $name, ?phpDocumentor Parses a tag and populates the member variables.
|
public __toString() : string Returns the tag as a serialized string |
public static create(string $body, string $name = '', ?phpDocumentor Creates a new tag that represents any unknown tag type.
|
Properties |
Methods |
private validateTagName(string $name) : void Validates if the tag name matches the expected format, otherwise throws an exception. |
Methods |
public static create(string $body, string $name = '', ?phpDocumentor Creates a new tag that represents any unknown tag type.
|