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

find another way to process the definitions #21

Open
mvrhov opened this issue May 13, 2013 · 0 comments
Open

find another way to process the definitions #21

mvrhov opened this issue May 13, 2013 · 0 comments

Comments

@mvrhov
Copy link

mvrhov commented May 13, 2013

I was smashing my had against the wall for a couple of hours now and I don't think we could solve this as it's probably the PHP's fault. However it would be still nice, if we could find a workaround.

I have two twig extensions in services section of a config file.
One named Country which has a use Symfony\Component\Intl\Intl; declaration at the top.
And another one named Intl.

When the container is getting build I'm constantly getting.

Fatal error: Cannot use Symfony\Component\Intl\Intl as Intl because the name is already in use in .../lib/mvrhov/Twig/Country.php on line 27 (The line 27 is the use statement)

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

No branches or pull requests

1 participant