Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get user symfony

$user = $this->get('security.token_storage')->getToken()->getUser();
$user->getUsername();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #user #symfony
ADD COMMENT
Topic
Name
8+5 =