Answer the question
In order to leave comments, you need to log in
How to bypass directory depth limit for Symfony budle?
In general, judging by https://symfony.com/doc/current/bundles/best_pract...
"The depth of subdirectories should be kept to a minimum for the most used classes and files. Two levels is the maximum."
In general, how can you get around this limitation in order to scatter your classes in a more convenient way?
Because if you follow the best practices, it turns out that dozens of classes will scatter across different folders, almost unrelated to each other, and you will need to constantly jump between folders.
for example, how to use such a structure in a bundle to organize your code?
├── src/
│ ├── UseCases/
│ │ ├── BlaBla/
│ │ │ ├── SomeAction/
│ │ │ │ ├── Dto.php
│ │ │ │ ├── Handle.php
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