Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[DI] leverage Contracts\Service #28207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 5, 2018
Merged

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Embedding #28206 for now.
This deprecates some generic interfaces from the DI component in favor of the similar ones proposed for Contracts\Service.

{
$this->factories = $factories;
use ServiceLocatorTrait {
get as doGet;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this make doGet public or no ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, visibility changes must be explicit.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, got it, fixed :)

@nicolas-grekas nicolas-grekas force-pushed the di-contract branch 5 times, most recently from e8a0a32 to 405b4e4 Compare August 19, 2018 13:00
@nicolas-grekas nicolas-grekas force-pushed the di-contract branch 8 times, most recently from 8294fc5 to 810890e Compare September 4, 2018 08:20
@fabpot
Copy link
Member

fabpot commented Sep 4, 2018

Should be rebased now

Copy link
Member

@fabpot fabpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor comment

@@ -19,6 +19,8 @@
* not needed anymore.
*
* @author Christophe Coevoet <[email protected]>
*
* @deprecated since Symfony 4.2, use `ResetInterface` instead.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be the FQDN here IMHO

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated (and added to the CHANGELOG file)

@fabpot
Copy link
Member

fabpot commented Sep 5, 2018

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 87392ab into symfony:master Sep 5, 2018
fabpot added a commit that referenced this pull request Sep 5, 2018
This PR was merged into the 4.2-dev branch.

Discussion
----------

[DI] leverage Contracts\Service

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Embedding #28206 for now.
This deprecates some generic interfaces from the DI component in favor of the similar ones proposed for `Contracts\Service`.

Commits
-------

87392ab [DI] leverage Contracts\Service
@nicolas-grekas nicolas-grekas deleted the di-contract branch September 5, 2018 08:25
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.2 Nov 1, 2018
This was referenced Nov 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants