public function setUserPrincipal(PrincipalInterface $userPrincipal = null) { $this->userPrincipal = $userPrincipal; }