Update Description.php

Getter for `tags`.
This commit is contained in:
Bozhidar Hristov
2017-09-11 19:53:47 +02:00
committed by Jaapio
parent 2d3d238c43
commit b2f473ed77
+10
View File
@@ -70,6 +70,16 @@ class Description
$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
* format.