minor #544 Example with Symfony > 4.0 (Snowbaha)
minor #544 Example with Symfony > 4.0 (Snowbaha)

This PR was merged into the 2.x-dev branch.

Discussion
----------

Example with Symfony > 4.0

Since SF 4.0, in the controller, it's better to use the interface instead of the service container.
Maybe it can be nice to show the 2 example ?

Commits
-------

f9106cd Example with Symfony > 4.0

lexik/LexikJWTAuthenticationBundle,chalasr/LexikJWTAuthenticationBundle