Symfony: is there a best practice for naming directories including traits and interfaces?
3 answers
For naming convention, see coding standards
As for the directory structure, I do not specifically put them in the traits directory. It depends on how you want to organize your code. Generally, most people put a trait inside the package folder for their behavior, i.e. Mysql \ ConnectionTrait
+2
source to share