getTagsWithTypes() public static method

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