Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 35362af

Browse filesBrowse files
committed
Moved ServiceProviderInterface to Contracts, targeting master branch
1 parent 19cbcc5 commit 35362af
Copy full SHA for 35362af

File tree

5 files changed

+9
-4
lines changed
Filter options

5 files changed

+9
-4
lines changed

‎src/Symfony/Component/DependencyInjection/CHANGELOG.md

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/CHANGELOG.md
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ CHANGELOG
1212
* added `%env(key:...)%` processor to fetch a specific key from an array
1313
* deprecated `ServiceSubscriberInterface`, use the same interface from the `Symfony\Contracts\Service` namespace instead
1414
* deprecated `ResettableContainerInterface`, use `Symfony\Contracts\Service\ResetInterface` instead
15+
* `ServiceLocator` implements `ServiceProviderInterface`
1516

1617
4.1.0
1718
-----
1819

19-
* `ServiceLocator` implements `ServiceProviderInterface`
20-
* added `ServiceProviderInterface`
2120
* added support for variadics in named arguments
2221
* added PSR-11 `ContainerBagInterface` and its `ContainerBag` implementation to access parameters as-a-service
2322
* added support for service's decorators autowiring

‎src/Symfony/Component/DependencyInjection/ServiceLocator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/ServiceLocator.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
use Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException;
1818
use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
1919
use Symfony\Contracts\Service\ServiceLocatorTrait;
20+
use Symfony\Contracts\Service\ServiceProviderInterface;
2021
use Symfony\Contracts\Service\ServiceSubscriberInterface;
2122

2223
/**

‎src/Symfony/Component/DependencyInjection/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"require": {
1919
"php": "^7.1.3",
2020
"psr/container": "^1.0",
21-
"symfony/contracts": "^1.0"
21+
"symfony/contracts": "^1.1"
2222
},
2323
"require-dev": {
2424
"symfony/yaml": "~3.4|~4.0",

‎src/Symfony/Contracts/CHANGELOG.md

Copy file name to clipboardExpand all lines: src/Symfony/Contracts/CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
1.1.0
5+
-----
6+
7+
* added `ServiceProviderInterface`
8+
49
1.0.0
510
-----
611

‎src/Symfony/Component/DependencyInjection/ServiceProviderInterface.php renamed to ‎src/Symfony/Contracts/Service/ServiceProviderInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Contracts/Service/ServiceProviderInterface.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Component\DependencyInjection;
12+
namespace Symfony\Contracts\Service;
1313

1414
use Psr\Container\ContainerInterface;
1515

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.