In Symfony 2.8/3.0, with our fancy new security components, how do I get the currently logged User
(i.e. FOSUser) object in a service without injecting the whole container?
Is it even possible in a non-hacky way?
PS: Let's not consider the "pass it to the service function as a parameter" for being trivially obvious. Also, dirty.
null
. Is there something I missed to set? – Welltodo