Added doc blocks to the new methods.

This commit is contained in:
Vasil Rangelov
2012-10-15 13:17:51 +03:00
parent ee412932f1
commit 95ad95d3be
@@ -15,7 +15,7 @@ namespace phpDocumentor\Reflection\DocBlock\Tag;
use phpDocumentor\Reflection\DocBlock\Tag;
/**
* Reflection class for a {@author} tag in a Docblock.
* Reflection class for an @author tag in a Docblock.
*
* @author Mike van Riel <[email protected]>
* @license http://www.opensource.org/licenses/mit-license.php MIT
@@ -46,11 +46,21 @@ class AuthorTag extends Tag
}
}
/**
* Gets the author's name.
*
* @return string The author's name.
*/
public function getAuthorName()
{
return $this->name;
}
/**
* Gets the author's email.
*
* @return string The author's email.
*/
public function getAuthorEmail()
{
return $this->email;