public function getRoleService() { if ($this->roleService !== null) { return $this->roleService; } $this->roleService = new RoleService($this->repository->getRoleService(), $this->signalDispatcher); return $this->roleService; }