public function __construct() { if (null === static::$tags) { static::$tags = Annotation::getTagsWithTypes(); } }
/** * {@inheritdoc} */ public function __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); } }