Skip to content

Commit 8e4e741

Browse files
minor symfony#22417 Add a note about the ServiceLocator class in the changelog (chalasr)
This PR was merged into the 3.3-dev branch. Discussion ---------- Add a note about the ServiceLocator class in the changelog | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a In addition to have `container.service_locator` and `container.service_subscriber` based on, this class is useful on its own as it is the one avoiding the need for having the `Container` class filling this role. Commits ------- 92994f3 Add a note about the ServiceLocator class in the changelog
2 parents 3f8f646 + 92994f3 commit 8e4e741

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/DependencyInjection/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ CHANGELOG
1010
* added "container.service_locator" tag for defining service-locator services
1111
* added anonymous services support in YAML configuration files using the `!service` tag.
1212
* added "TypedReference" and "ServiceClosureArgument" for creating service-locator services
13+
* added `ServiceLocator` - a PSR-11 container holding a set of services to be lazily loaded
1314
* added "instanceof" section for local interface-defined configs
1415
* added prototype services for PSR4-based discovery and registration
1516
* added `ContainerBuilder::getReflectionClass()` for retrieving and tracking reflection class info

0 commit comments

Comments
 (0)