Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[DI] Allow getting synthetic before compilation#19715

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
ro0NL wants to merge2 commits intosymfony:masterfromro0NL:di/containerbuilder-get
Closed

[DI] Allow getting synthetic before compilation#19715

ro0NL wants to merge2 commits intosymfony:masterfromro0NL:di/containerbuilder-get

Conversation

@ro0NL
Copy link
Contributor

@ro0NLro0NL commentedAug 23, 2016
edited by javiereguiluz
Loading

QA
Branch?"master"
Bug fix?yes?
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PR

Same as#19619 but i messed up git. So here's a clean PR.

After#19673

@trigger_error(sprintf('Calling %s() before compiling the container is deprecated for non-synthetic services since version 3.2 and will throw an exception in 4.0.',__METHOD__),E_USER_DEPRECATED);
}
if (null ===$definition) {
return;
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Considerable.

@nicolas-grekas
Copy link
Member

As far as I understand correctly, this is targeting the use case of fetching services while the container is being build. Does anyone really do this already?

@fabpot
Copy link
Member

... which nobody should do anyway. Phase one is describing the container, phase 2 is building/compiling, phase 3 is using.

@ro0NL
Copy link
ContributorAuthor

👍 i considered it more from a convenience pov. But im fine if this is locked by design.

@ro0NLro0NL closed thisSep 7, 2016
@ro0NLro0NL deleted the di/containerbuilder-get branchMay 23, 2017 19:12
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@ro0NL@nicolas-grekas@fabpot@stof@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp