コード例 #1
0
public function __construct()
{
if (null === static::$tags) {
static::$tags = Annotation::getTagsWithTypes();
}
}
コード例 #2
0
 /**
  * {@inheritdoc}
  */
 public function __construct()
 {
     $this->tags = Annotation::getTagsWithTypes();
 }
コード例 #3
0
 public function testGetTagsWithTypes()
 {
     $tags = Annotation::getTagsWithTypes();
     $this->assertInternalType('array', $tags);
     foreach ($tags as $tag) {
         $this->assertInternalType('string', $tag);
         $this->assertNotEmpty($tag);
     }
 }