Answer the question
In order to leave comments, you need to log in
Symfony SecurityContextInterface - myth or reality (bug, oversight or feature)?
Good time.
I'm learning Symfony, now version 3.0.2
I'm picking a din bundle now, where a certain "kulibin" uses \Twig_Extension to determine user rights in the template .
I find the following -
use Symfony\Component\Security\Core\SecurityContextInterface;
use Symfony\Component\Security\Core\SecurityContextInterface;
Answer the question
In order to leave comments, you need to log in
It's just that you are using the outdated symfony/twig-bridge
In the master branch, this file looks like this: https://github.com/symfony/twig-bridge/blob/master...
Look in composer.json or docomposer update
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question