15 lines
317 B
PHP
15 lines
317 B
PHP
|
<?php
|
||
|
|
||
|
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
|
||
|
|
||
|
use App\BarService;
|
||
|
|
||
|
return new class() {
|
||
|
public function __invoke(ContainerConfigurator $c)
|
||
|
{
|
||
|
$s = $c->services()->defaults()->public();
|
||
|
$s->set(BarService::class)
|
||
|
->args([inline('FooClass')]);
|
||
|
}
|
||
|
};
|