Reflection class for an {@}author tag in a Docblock.
CloneableFinalInstantiable
Methods |
public __construct(string $authorName, string $authorEmail) Initializes this tag with the author name and e-mail. |
public __toString() : string Returns this tag in string form. |
public static create(string $body) : ?self Attempts to create a new Author object based on the tag body. |
public getAuthorName() : string Gets the author's name.
|
public getEmail() : string Returns the author's email.
|
Properties |
protected string $name = 'author'
|
Properties |
private string $authorEmail
|
private string $authorName
|
Methods |
public static create(string $body) : ?self Attempts to create a new Author object based on the tag body. |