From 6ff52dfc59c70e0ccd3d0d80c89b44c92daf8700 Mon Sep 17 00:00:00 2001 From: Vasil Rangelov Date: Mon, 15 Oct 2012 13:17:51 +0300 Subject: [PATCH] Added doc blocks to the new methods. --- .../Reflection/DocBlock/Tag/AuthorTag.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/phpDocumentor/Reflection/DocBlock/Tag/AuthorTag.php b/src/phpDocumentor/Reflection/DocBlock/Tag/AuthorTag.php index 599cd9f..3eeda2f 100644 --- a/src/phpDocumentor/Reflection/DocBlock/Tag/AuthorTag.php +++ b/src/phpDocumentor/Reflection/DocBlock/Tag/AuthorTag.php @@ -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 * @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;