mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-20 15:08:11 +01:00
16 lines
390 B
PHP
16 lines
390 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
|
$services = $containerConfigurator->services();
|
|
|
|
$services->defaults()
|
|
->autowire()
|
|
->public();
|
|
|
|
$services->load('Rector\AnonymousClass\\', __DIR__ . '/../src');
|
|
};
|