{"push_id":1594717169,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"c6e1a497312d49d870298d5877ae76638b310241","before":"ed303489daf4ed1aeece9b47208f352a64b74d91","commits":[{"sha":"1d9663326ecf6cc1034012f65cb85888cc87f315","author":{"name":"Nicolas Grekas","email":"ec5ccb19bcd9237073a700927cff7f3ddf333fd9@gmail.com"},"message":"[DI] Allow creating ServiceLocator-based services in extensions","distinct":true,"url":"https://api.github.com/repos/symfony/symfony/commits/1d9663326ecf6cc1034012f65cb85888cc87f315"},{"sha":"c6e1a497312d49d870298d5877ae76638b310241","author":{"name":"Fabien Potencier","email":"6094910757de3667a08340f5b21f6399d2ffcc52@gmail.com"},"message":"feature #21770 [DI] Allow extensions to create ServiceLocator as services (nicolas-grekas)\n\nThis PR was merged into the 3.3-dev branch.\n\nDiscussion\n----------\n\n[DI] Allow extensions to create ServiceLocator as services\n\n| Q             | A\n| ------------- | ---\n| Branch?       | master\n| Bug fix?      | no\n| New feature?  | yes\n| BC breaks?    | no\n| Deprecations? | no\n| Tests pass?   | yes\n| Fixed tickets | -\n| License       | MIT\n| Doc PR        | -\n\nhttps://github.com/symfony/symfony/pull/21770/files?w=1\n\nWith this PR, DI extensions are able to create \"service locator\" services.\nThey are easily created as such:\n```php\n$container->register('my_service_locator', ServiceLocator::class)\n    ->addArgument(array(\n        'exposed_id' => new ServiceClosureArgument(new Reference('internal_id')),\n    ))\n```\nI already need this in two different PRs to come.\n\nCommits\n-------\n\n1d9663326e [DI] Allow creating ServiceLocator-based services in extensions","distinct":true,"url":"https://api.github.com/repos/symfony/symfony/commits/c6e1a497312d49d870298d5877ae76638b310241"}]}
{"actor":{"display_login":"fabpot"}}