public function __construct()
{
if (null === static::$tags) {
static::$tags = Annotation::getTagsWithTypes();
}
}
 /**
  * {@inheritdoc}
  */
 public function __construct()
 {
     $this->tags = Annotation::getTagsWithTypes();
 }
Esempio n. 3
0
 public function testGetTagsWithTypes()
 {
     $tags = Annotation::getTagsWithTypes();
     $this->assertInternalType('array', $tags);
     foreach ($tags as $tag) {
         $this->assertInternalType('string', $tag);
         $this->assertNotEmpty($tag);
     }
 }