virtuatable-museum / virtuatable

Utility classes for the virtuatable services
0 stars 0 forks source link

Always look for a base file before loading a folder #7

Closed vincentcourtois closed 4 years ago

vincentcourtois commented 4 years ago

One of our code pattern is to have a Base class declared in a namespace, for example in the campaigns service there is a Controllers::Base class that should be loaded before the rest of the folder. We should look for this kind of file in the controllers, decorators or services folders and load them first.