mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Added doc blocks to the new methods.
This commit is contained in:
@@ -15,7 +15,7 @@ namespace phpDocumentor\Reflection\DocBlock\Tag;
|
|||||||
use 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]>
|
* @author Mike van Riel <[email protected]>
|
||||||
* @license http://www.opensource.org/licenses/mit-license.php MIT
|
* @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()
|
public function getAuthorName()
|
||||||
{
|
{
|
||||||
return $this->name;
|
return $this->name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the author's email.
|
||||||
|
*
|
||||||
|
* @return string The author's email.
|
||||||
|
*/
|
||||||
public function getAuthorEmail()
|
public function getAuthorEmail()
|
||||||
{
|
{
|
||||||
return $this->email;
|
return $this->email;
|
||||||
|
|||||||
Reference in New Issue
Block a user