Currently path of API Resource classes is not configurable. There is hardcoded path Classes/Domain/Model/*.php of loaded extensions (see \SourceBroker\T3api\Domain\Repository\ApiResourceRepository::getAllDomainModels). Although it's probably enough for most of use cases, hardcoded part makes it impossible to write tests. This task is about refactoring this part of code to make it possible to write tests.
Moreover within this task t3api should start to include also subfolders of Classes/Domain/Model when looking for API Resources.
Currently path of API Resource classes is not configurable. There is hardcoded path
Classes/Domain/Model/*.phpof loaded extensions (see\SourceBroker\T3api\Domain\Repository\ApiResourceRepository::getAllDomainModels). Although it's probably enough for most of use cases, hardcoded part makes it impossible to write tests. This task is about refactoring this part of code to make it possible to write tests.Moreover within this task t3api should start to include also subfolders of
Classes/Domain/Modelwhen looking for API Resources.Classes/Domain/Modelwhen searching for API Resource.