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

Lost twig v2 alias in ServiceProvider #375

Open
Moln opened this issue Oct 8, 2019 · 1 comment
Open

Lost twig v2 alias in ServiceProvider #375

Moln opened this issue Oct 8, 2019 · 1 comment

Comments

@Moln
Copy link

Moln commented Oct 8, 2019

$this->app->alias('twig', Twig_Environment::class);

Need:

$this->app->alias('twig', Twig_Environment::class); 
$this->app->alias('twig', \Twig\Environment::class); 
@Moln Moln changed the title Lost twig v2 alias Lost twig v2 alias in ServiceProvider Oct 8, 2019
@barryvdh
Copy link
Collaborator

barryvdh commented Oct 8, 2019

Can you make a PR?

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

2 participants