permissionRepository->all(); } public function allNoTree(): ?Collection { return $this->permissionRepository->allNoTree(); } public function find(int $id): ?Permission { return $this->permissionRepository->find(id: $id); } public function findByScope(string $scope): ?Permission { return $this->permissionRepository->findByScope(scope: $scope); } public function store(PermissionDTO $permissionDTO): Permission { return $this->permissionRepository->store(permissionDTO: $permissionDTO); } public function update(PermissionDTO $permissionDTO, int $id): ?Permission { return $this->permissionRepository->update(permissionDTO: $permissionDTO, id: $id); } public function delete(int $id): bool { return $this->permissionRepository->delete(id: $id); } }