public function getUserSystem() | public function getUserSystem() | ||||
{ | { | ||||
if ($this->userSystem === null) { | if ($this->userSystem === null) { | ||||
$this->userSystem = $this->entityManager->getRepository($this->getEntityName(UserInterface::class))->findOneByDevAlias('system'); | |||||
$this->userSystem = $this->getRepository(UserInterface::class)->findOneByDevAlias('system'); | |||||
} | } | ||||
return $this->userSystem; | return $this->userSystem; | ||||
} | } |