Where should place for the custom interfaces and classes


(Wdvlpr) #1

Hi!

I’m beginner in Yii2. I couldn’t found information by my question. Tell me please, where a better put my interfaces and classes they shouldn’t declare as components?


(Alexander Makarov) #2

To custom directories/namespaces that correspond to your classes and interfaces meaning.


(Wdvlpr) #3

Hence I can create my own directory anywhere in within the yii installation. Right?


(Alexander Makarov) #4

Yes.