Loading module/Application/src/Application/Service/UserContextService.php +0 −18 Original line number Diff line number Diff line Loading @@ -24,24 +24,6 @@ class UserContextService extends BaseUserContextService use EtablissementServiceAwareTrait; use SourceCodeStringHelperAwareTrait; /** * @var RoleInterface */ protected $selectedIdentityRole; /** * @return Role|RoleInterface|null */ public function getSelectedIdentityRole() { if ($this->selectedIdentityRole === null) { $role = parent::getSelectedIdentityRole(); $this->selectedIdentityRole = $this->roleAsEntity($role); } return $this->selectedIdentityRole; } private $roleAsEntityCache = []; /** Loading Loading
module/Application/src/Application/Service/UserContextService.php +0 −18 Original line number Diff line number Diff line Loading @@ -24,24 +24,6 @@ class UserContextService extends BaseUserContextService use EtablissementServiceAwareTrait; use SourceCodeStringHelperAwareTrait; /** * @var RoleInterface */ protected $selectedIdentityRole; /** * @return Role|RoleInterface|null */ public function getSelectedIdentityRole() { if ($this->selectedIdentityRole === null) { $role = parent::getSelectedIdentityRole(); $this->selectedIdentityRole = $this->roleAsEntity($role); } return $this->selectedIdentityRole; } private $roleAsEntityCache = []; /** Loading