Reflection class for an {@}author tag in a Docblock.
Cloneable
Final
Instantiable
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 †he tag body. |
public
getAuthorName
() :
string
Gets the author's name.
|
public
getEmail
() :
string
Returns the author's email.
|
Properties |
protected
$name
|
Properties |
private
$authorEmail
|
private
$authorName
|
Methods |
public
static
create
(
string
$body
) : ?
self
Attempts to create a new Author object based on †he tag body. |