Skip to content
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

Prepare to remove usages of service_container in version 4 #7074

Merged
merged 1 commit into from
Apr 16, 2021

Conversation

franmomu
Copy link
Member

@franmomu franmomu commented Apr 16, 2021

Subject

I missed this on in #6963

After this and merging with 4.x (resolving the comment) I think we won't have more service_container dependencies.

I am targeting this branch, because these changes are BC.

Changelog

### Changed
- Changed `TemplateRegistryExtension` constructor to `@internal`.

@franmomu franmomu added the minor label Apr 16, 2021
@@ -86,18 +103,13 @@ public function getGlobalTemplate($name): ?string
}

/**
* @throws ServiceNotFoundException
* @throws ServiceCircularReferenceException
* @throws AdminCodeNotFoundException
*/
private function getTemplateRegistry(string $adminCode): TemplateRegistryInterface
Copy link
Member Author

Choose a reason for hiding this comment

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

This method is not being used in 3.x

@franmomu franmomu requested a review from a team April 16, 2021 07:27
@VincentLanglet VincentLanglet requested a review from a team April 16, 2021 07:49
@jordisala1991 jordisala1991 merged commit 672f596 into sonata-project:3.x Apr 16, 2021
@jordisala1991
Copy link
Member

Thank you @franmomu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants