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

[Core] Remove LocaleController #5556

Merged
merged 1 commit into from
Jul 21, 2016

Conversation

pamil
Copy link
Contributor

@pamil pamil commented Jul 20, 2016

That's why we should make classes final by default and then consider whether they should be extendable 😕

*/
protected function getLocaleProvider()
{
return $this->container->get('sylius.channel_aware_locale_provider');
Copy link
Contributor

Choose a reason for hiding this comment

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

DI through inheritance 💣 💥 😮

@pjedrzejewski pjedrzejewski merged commit c3329bb into Sylius:master Jul 21, 2016
@pjedrzejewski
Copy link
Member

Thank you Kamil!

@pamil pamil deleted the wtf/locale-controller-XD branch July 21, 2016 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants