Auto-configure services and repositories

Enable the auto-configuration of service and repository classes,
including support for classes in subdirectories by using
`getRelativePathname()` rather than `getFilename()` and making some
additional changes to the result.

References #347
This commit is contained in:
Oliver Davies 2021-01-13 23:10:38 +00:00
parent f6791516c5
commit 53ab326415
9 changed files with 183 additions and 26 deletions

View file

@ -140,6 +140,7 @@
<excludeFolder url="file://$MODULE_DIR$/vendor/zendframework/zend-escaper" />
<excludeFolder url="file://$MODULE_DIR$/vendor/zendframework/zend-feed" />
<excludeFolder url="file://$MODULE_DIR$/vendor/zendframework/zend-stdlib" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/config" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />

5
.idea/php.xml generated
View file

@ -149,9 +149,12 @@
<path value="$PROJECT_DIR$/vendor/beberlei/assert" />
<path value="$PROJECT_DIR$/vendor/topfloor/composer-cleanup-vcs-dirs" />
<path value="$PROJECT_DIR$/vendor/tightenco/collect" />
<path value="$PROJECT_DIR$/vendor/symfony/config" />
</include_path>
</component>
<component name="PhpProjectSharedConfiguration" php_language_level="7.4" />
<component name="PhpProjectSharedConfiguration" php_language_level="8.0">
<option name="suggestChangeDefaultLanguageLevel" value="false" />
</component>
<component name="PhpStan">
<PhpStan_settings>
<PhpStanConfiguration tool_path="$PROJECT_DIR$/vendor/bin/phpstan" />