Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #5450 Fixing "Undefined method" error in code example (nebkam)
This PR was submitted for the 2.7 branch but it was merged into the 2.6 branch instead (closes #5450). Discussion ---------- Fixing "Undefined method" error in code example | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.7 | Fixed tickets | - The code example tries to call `getToken` on `Symfony\Component\Security\Core\Authorization\AuthorizationChecker`, which fails on Symfony 2.7 because the method is undefined. This change utilizes the TokenStorage class, introduced in Symfony 2.6 Commits ------- fa3936b Fixing "Undefined method" error on Symfony 2.7
- Loading branch information