Answer the question
In order to leave comments, you need to log in
Why doesn't Yii2 work with components if they are implemented in a separate file and put into a separate namespace?
Good afternoon!
Over the past hour, I've come across this:
A component I wrote does not want to work with the Yii2 component support library if it was put in a namespace.
How to make namespace in one file with components or models work? Thank you in advance and an example of the problematic code in the comments to this question!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question