Reflection class for an {@}author tag in a Docblock.

CloneableFinalInstantiable
ExtendsphpDocumentor\Reflection\DocBlock\Tags\BaseTag
ImplementsphpDocumentor\Reflection\DocBlock\Tag
phpDocumentor\Reflection\DocBlock\Tags\Factory\StaticMethod
Methods
public __construct( $authorName, $authorEmail)
 
Initializes this tag with the author name and e-mail.

    public __toString()
     
    Returns this tag in string form.

    • return string
    public static create( $body)
     
    Attempts to create a new Author object based on †he tag body.

    • return static
    public getAuthorName()
     
    Gets the author's name.

    • return string The author's name.
    public phpDocumentor\Reflection\DocBlock\Tags\BaseTag::getDescription()
    public getEmail()
     
    Returns the author's email.

    • return string The author's email.
    public phpDocumentor\Reflection\DocBlock\Tags\BaseTag::getName()
     
    Gets the name of this tag.

    • return string The name of this tag.
    public phpDocumentor\Reflection\DocBlock\Tags\BaseTag::render(?phpDocumentor\Reflection\DocBlock\Tags\Formatter $formatter = NULL)
    Properties
    protected phpDocumentor\Reflection\DocBlock\Tags\BaseTag::$description
     


    • var Description|null Description of the tag.
    protected $name
     


    • var string register that this is the author tag.
    Properties
    private $authorEmail
     


    • var string The email of the author
    private $authorName
     


    • var string The name of the author
    Methods
    public static create( $body)
     
    Attempts to create a new Author object based on †he tag body.

    • return static
    © 2020 Bruce Wells
    Search Namespaces \ Classes
    ConfigurationNumbers (0-9.) only