Dapatkan Pengguna Symfony
$user = $this->get('security.token_storage')->getToken()->getUser();
$user->getUsername();
Repulsive Ratel
$user = $this->get('security.token_storage')->getToken()->getUser();
$user->getUsername();