Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
21
vendor/symfony/dependency-injection/Tests/Fixtures/config/defaults.php
vendored
Normal file
21
vendor/symfony/dependency-injection/Tests/Fixtures/config/defaults.php
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
|
||||
|
||||
use Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\Foo;
|
||||
|
||||
return function (ContainerConfigurator $c) {
|
||||
$c->import('basic.php');
|
||||
|
||||
$s = $c->services()->defaults()
|
||||
->public()
|
||||
->private()
|
||||
->autoconfigure()
|
||||
->autowire()
|
||||
->tag('t', array('a' => 'b'))
|
||||
->bind(Foo::class, ref('bar'))
|
||||
->private();
|
||||
|
||||
$s->set(Foo::class)->args(array(ref('bar')))->public();
|
||||
$s->set('bar', Foo::class)->call('setFoo')->autoconfigure(false);
|
||||
};
|
Reference in a new issue