Proposal to Add Reference::tag Method
Opened this issue · 4 comments
nahakyuu commented
I propose adding a new method, Reference::tag
// before
Reference::to('tag@translation.categorySource');
Reference::to('tag@' . Yiisoft\Log\Target::class);
// after
Reference::tag('translation.categorySource');
Reference::tag(Yiisoft\Log\Target::class);
xepozz commented
Would you like to implement?
vjik commented
Tags is Yii DI feature only. This proposal should be implemented in yiisoft/di.
vjik commented
Can we use one of exist class for implement suggested method or create new?
BoShurik commented
Maybe add a tag
function which will use Reference::to('tag@'. $value);
?