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

[DependencyInjection] QrCodeExtension not defined, thus not tagged as Twig extension #2

Closed
ghost opened this issue Dec 4, 2017 · 1 comment
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Dec 4, 2017

As of right now, the class QrCodeExtension from endroid/qrcode is not defined as a service within this bundle, so it doesn't get tagged as a Twig extension. I'm not sure what the best way is to resolve this, but I've currently resolved it by defining it in my own application like this:

Endroid\QrCode\Twig\Extension\QrCodeExtension: 
    autoconfigure: true
    autowire: true
@endroid
Copy link
Owner

endroid commented Dec 5, 2017

Hi @Hipio good point. I now made the twig extension service public.

@endroid endroid closed this as completed Dec 5, 2017
@endroid endroid self-assigned this Dec 5, 2017
@endroid endroid added the bug label Dec 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant