Get all the annotation tag names with types.
public static getTagsWithTypes ( ) : string[] | ||
return | string[] |
/** * {@inheritdoc} */ public function __construct() { parent::__construct(); $this->tags = Annotation::getTagsWithTypes(); }
public function testGetTagsWithTypes() { $tags = Annotation::getTagsWithTypes(); $this->assertInternalType('array', $tags); foreach ($tags as $tag) { $this->assertInternalType('string', $tag); $this->assertNotEmpty($tag); } }