tikiwiki/packages/tiki-pkg-tikimanager/symfony/dependency-injection/Tests/Fixtures/config/object.php

15 lines
317 B
PHP
Raw Normal View History

2023-11-20 21:52:04 +01:00
<?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')]);
}
};