Closed szepeviktor closed 1 year ago
The /src/Schema/
pattern is purposeful so that we have /src/functions/
, /src/views/
, /src/admin-views/
, /src/deprecated/
, etc as sibling directories to the PHP class directories.
A worthy suggestion, but one that we won't be adopting as we like to have a separation between those concerns listed above while keeping all of the source code under a single tree. (i.e. we are not interested in /admin-views
over /src/admin-views/
.
All right. I let you store non PHP classes in src/
.
... although it violates the 1 thing in 1 box principle.
Haha, thank you for the permission :D
Thats what the Schema
directory is for - it accomplishes the 1 thing in 1 box principle at a lower depth.
It is Thursday. I'm not able control my emotions when I see something other than a PHP class in a PSR-4 directory. Tomorrow I may change!
src/Schema/ 👉🏻 src/ After #20
"src/Schema/" is PSR-0!