|This project is no longer being maintained. Please use contributte/di.|
extensions: autoload: Minetro\Autoloader\DI\ServiceAutoloadExtension
This configuration is enabled by default.
autoload: dirs: - %appDir% annotations: - @Service interfaces: - Minetro\Autoloader\AutoloadService decorator: inject: off
You can override all configuration settings you want to.
autoload: dirs: - %appDir% - %libsDir% - %fooDir% annotations: - @Service - @MyCustomService interfaces: - Minetro\Autoloader\AutoloadService - App\Model\MyAutoloadServiceInterface decorator: inject: on / off
Service loading is triggered only once at dependency injection container compile-time. You should be pretty fast, almost as official registering presenter as services.
This package was maintain by these authors.
Consider to support contributte development team. Also thank you for being used this package.