Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 PHP 和 Yii 中有一个命名空间应用程序。我现在需要实现“orderable.php”,并希望将这些接口全部保存在一个文件夹中。我不确定如何称呼这个文件夹。有什么建议么?在 Java 中,这似乎要简单得多^_^
如果你有命名空间的应用程序,迟早你会注意到接口也应该有自己的命名空间,所以最好遵循PSR-0并将其放在命名空间目录树中的类旁边。