Answers for "get user symfony"

PHP
0

get user symfony

$user = $this->get('security.token_storage')->getToken()->getUser();
$user->getUsername();
Posted by: Guest on June-09-2021

Browse Popular Code Answers by Language