/** * Get the current identity from the role service * * @return IdentityInterface|null */ public function getIdentity() { return $this->roleService->getIdentity(); }