public function testArrayInstance() { $this->assertEquals(['herroffizier\\yii2artc\\tests\\codeception\\_helpers\\Model1', 'herroffizier\\yii2artc\\tests\\codeception\\_helpers\\Model2'], TagBuilder::buildTags([Model1::className(), Model2::className()])); }
/** * Get array of tags for dependency. * * @return string[] */ protected function getCacheTags() { $classes = [$this->owner]; $tags = TagBuilder::buildTags($classes); return $tags; }