diff --git a/src/DocBlock/Description.php b/src/DocBlock/Description.php index d1d7fc6..c63cae5 100644 --- a/src/DocBlock/Description.php +++ b/src/DocBlock/Description.php @@ -69,6 +69,16 @@ class Description $this->bodyTemplate = $bodyTemplate; $this->tags = $tags; } + + /** + * Returns the tags for this DocBlock. + * + * @return Tag[] + */ + public function getTags() + { + return $this->tags; + } /** * Renders this description as a string where the provided formatter will format the tags in the expected string