repository = app()->make(UserRepositoryInterface::class); $this->policy = new UserPolicy(); } public function handle(): array { authorize('findAll', $this->policy); return $this->repository->findAll(); } }