Symfony\Bundle\FrameworkBundle\Controller\Controller::getUser
Get a user from the Security Context
Signature
public function getUser()
Returns
- mixed
Errors/Exceptions
-
LogicException
- If SecurityBundle is not available