lexik / LexikPayboxBundle

LexikPayboxBundle eases the implementation of the Paybox payment system
MIT License
40 stars 47 forks source link

Make services public to avoid error with Symfony 4 #95

Closed aleksbrgt closed 5 years ago

aleksbrgt commented 5 years ago

Services in Symfony 4 are now private by default, it was causing issues while using the bundle with sf4

gilles-g commented 5 years ago

Hi @aleksbrgt

How did you call them? Is i from a controller with the get method of the container?

yann-eugone commented 5 years ago

In fact, this is in this bundle that the error occurs :

https://github.com/lexik/LexikPayboxBundle/blob/master/Controller/DefaultController.php#L26

gilles-g commented 5 years ago

Ok! Thanks :)