public function index(UrlParamsProcessor $processor)
    {
        $this->authorize('readList', User::class);

        $processor
            ->addFilter(new ArrayParser('id'))
            ->addFilter(new StringParser('email'), 'email')
            ->addFilter(new StringParser('name'))
            ->addFilter(new StringParser('first_name'))
            ->addFilter(new StringParser('last_name'))
            ->addFilter(new DateRangeParser('created_at'))
            ->addFilter(new DateParser('updated_at'))
            ->process($this->request);

        $results = $this->repository->getMany($processor->buildQueryBuilder());
        $results->setPath(apiUrl('users'));

        return new UserCollection($results);
    }