mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-12-29 20:26:11 +01:00
b42f6ed08e
Related: #11120
25 lines
675 B
PHP
25 lines
675 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
|
|
|
|
use TTN\Tea\Command\CreateTestDataCommand;
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator) {
|
|
$services = $containerConfigurator->services()
|
|
->defaults()
|
|
->autowire()
|
|
->autoconfigure();
|
|
|
|
$services->load('TTN\\Tea\\', '../Classes/*')
|
|
->exclude('../Classes/Domain/Model/*');
|
|
|
|
$services->set(CreateTestDataCommand::class)
|
|
->tag('console.command', [
|
|
'command' => 'tea:createtestdata',
|
|
'description'=>'Create test data in existing sysfolder'
|
|
]
|
|
);
|
|
|
|
};
|