Fabien Potencier a10fee16c1 merged branch igorw/dic-yaml-without-args (PR #3747) %!s(int64=13) %!d(string=hai) anos
..
Compiler 4316595dbb fixed CS %!s(int64=13) %!d(string=hai) anos
Dumper 9441c46bb6 [DependencyInjection] PhpDumper, fixes #2730 %!s(int64=13) %!d(string=hai) anos
Exception 3e2f1a4b13 Removed executable bits from all php files %!s(int64=14) %!d(string=hai) anos
Extension 97cb35b47a [DependencyInjection] tagged the public @api %!s(int64=14) %!d(string=hai) anos
Loader a10fee16c1 merged branch igorw/dic-yaml-without-args (PR #3747) %!s(int64=13) %!d(string=hai) anos
ParameterBag a894431c6c [DependencyInjection] Allow parsing of parameters near escaped percent signs %!s(int64=13) %!d(string=hai) anos
Alias.php 97cb35b47a [DependencyInjection] tagged the public @api %!s(int64=14) %!d(string=hai) anos
Container.php e3421a0b1d [DoctrineBridge] fixed some CS %!s(int64=13) %!d(string=hai) anos
ContainerAware.php 97cb35b47a [DependencyInjection] tagged the public @api %!s(int64=14) %!d(string=hai) anos
ContainerAwareInterface.php 97cb35b47a [DependencyInjection] tagged the public @api %!s(int64=14) %!d(string=hai) anos
ContainerBuilder.php 4316595dbb fixed CS %!s(int64=13) %!d(string=hai) anos
ContainerInterface.php e3421a0b1d [DoctrineBridge] fixed some CS %!s(int64=13) %!d(string=hai) anos
Definition.php e3421a0b1d [DoctrineBridge] fixed some CS %!s(int64=13) %!d(string=hai) anos
DefinitionDecorator.php 80f0b980ba [DependencyInjection] Fix DefinitionDecorator::getArgument() for replacements %!s(int64=13) %!d(string=hai) anos
LICENSE 89868f7901 Updated LICENSE files copyright %!s(int64=13) %!d(string=hai) anos
Parameter.php 97cb35b47a [DependencyInjection] tagged the public @api %!s(int64=14) %!d(string=hai) anos
README.md 997f354d53 tweaked the README files %!s(int64=13) %!d(string=hai) anos
Reference.php 2c3e9adcd1 [DependencyInjection] Made the reference case insensitive %!s(int64=13) %!d(string=hai) anos
Scope.php 97cb35b47a [DependencyInjection] tagged the public @api %!s(int64=14) %!d(string=hai) anos
ScopeInterface.php 97cb35b47a [DependencyInjection] tagged the public @api %!s(int64=14) %!d(string=hai) anos
SimpleXMLElement.php e3421a0b1d [DoctrineBridge] fixed some CS %!s(int64=13) %!d(string=hai) anos
TaggedContainerInterface.php 97cb35b47a [DependencyInjection] tagged the public @api %!s(int64=14) %!d(string=hai) anos
Variable.php 1aabc5da64 fixed CS %!s(int64=14) %!d(string=hai) anos
composer.json 208c2e468c removed the version attribute in all composer.json files %!s(int64=13) %!d(string=hai) anos

README.md

DependencyInjection Component

DependencyInjection manages your services via a robust and flexible Dependency Injection Container.

Here is a simple example that shows how to register services and parameters:

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Reference;

$sc = new ContainerBuilder();
$sc
    ->register('foo', '%foo.class%')
    ->addArgument(new Reference('bar'))
;
$sc->setParameter('foo.class', 'Foo');

$sc->get('foo');

Resources

Unit tests:

https://github.com/symfony/symfony/tree/master/tests/Symfony/Tests/Component/DependencyInjection