mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-12-22 17:46:10 +01:00
Daniel Siepmann
b8ef4383b7
* Migrate existing configuration from yaml to php. * Document why we did the switch and that using yaml or both is totally valid and conforms to best practices. * Document why we are not using attributes but only `Services.php` right now. Resolves: #1172 Relates: #1237
15 lines
397 B
PHP
15 lines
397 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator) {
|
|
$services = $containerConfigurator->services()
|
|
->defaults()
|
|
->autowire()
|
|
->autoconfigure();
|
|
|
|
$services->load('TTN\\Tea\\', '../Classes/*')
|
|
->exclude('../Classes/Domain/Model/*');
|
|
};
|