We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e1d059 commit 4d71fc0Copy full SHA for 4d71fc0
1 file changed
lib/Reflection/DocBlock.php
@@ -27,6 +27,20 @@ public function hasTag($name)
27
return $this->reflection->hasTag($name);
28
}
29
30
+ public function getTags($name)
31
+ {
32
+ /**
33
+ * @var array $tags
34
+ */
35
+ $tags = $this->reflection->getTagsByName($name);
36
+
37
+ if (empty($tags)) {
38
+ return null;
39
+ }
40
41
+ return $tags;
42
43
44
/**
45
* @param $name
46
*
0 commit comments