Yii Framework Forum: Where should place for the custom interfaces and classes - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Where should place for the custom interfaces and classes

#1 User is offline   Anchorite 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 23-July 17

Posted 23 July 2017 - 07:54 PM

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?
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,184
  • Joined: 17-January 09
  • Location:Russia

Posted 25 July 2017 - 10:26 AM

To custom directories/namespaces that correspond to your classes and interfaces meaning.
Yii 2.0 Development Cookbook

Enjoying Yii? Star us at github

Support me so I can work more on Yii: https://www.patreon.com/samdark
0

#3 User is offline   Anchorite 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 23-July 17

Posted 26 July 2017 - 03:29 AM

View Postsamdark, on 25 July 2017 - 10:26 AM, said:

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

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

#4 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,184
  • Joined: 17-January 09
  • Location:Russia

Posted 26 July 2017 - 05:06 AM

Yes.
Yii 2.0 Development Cookbook

Enjoying Yii? Star us at github

Support me so I can work more on Yii: https://www.patreon.com/samdark
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users