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] fix perf issue with lazy autowire error messages#32715

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

Merged
Tobion merged 1 commit intosymfony:4.3fromnicolas-grekas:di-autow-perf
Jul 26, 2019

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?4.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#32711
LicenseMIT
Doc PR-

See linked issue.

@nicolas-grekas
Copy link
MemberAuthor

Benefit confirmed in#32711, ready.

$container->setAliases($this->container->getAliases());
$container->setDefinitions($this->container->getDefinitions());
$container->setResourceTracking(false);
if (null ===$this->typesClone->container) {
Copy link
Member

Choose a reason for hiding this comment

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

thecontainer property should be declared as a private property of the class. We don't want to make it a dynamic public property.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

ah, I missed the fact it was an inherited property. All good then.

@Tobion
Copy link
Contributor

Thank you@nicolas-grekas.

@TobionTobion merged commit3c3bda5 intosymfony:4.3Jul 26, 2019
Tobion added a commit that referenced this pull requestJul 26, 2019
…olas-grekas)This PR was merged into the 4.3 branch.Discussion----------[DI] fix perf issue with lazy autowire error messages| Q             | A| ------------- | ---| Branch?       | 4.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#32711| License       | MIT| Doc PR        | -See linked issue.Commits-------3c3bda5 [DI] fix perf issue with lazy autowire error messages
@fabpotfabpot mentioned this pull requestJul 28, 2019
@nicolas-grekasnicolas-grekas deleted the di-autow-perf branchJuly 31, 2019 15:52
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof approved these changes

@dunglasdunglasAwaiting requested review from dunglasdunglas is a code owner

+1 more reviewer

@TobionTobionTobion approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.3

Development

Successfully merging this pull request may close these issues.

5 participants

@nicolas-grekas@Tobion@stof@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp