src/KapApigility/EntityRepositoryResource.php
public function fetchAll($params = array())
    {
        $criteria = $params->get('query', []);
        $orderBy = $params->get('order_by', []);
        
        $adapter = $this->getRepository()->getPaginatorAdapter($criteria, $orderBy);
        return new $this->collectionClass($adapter);
    }
public function fetchAll($params = array())
    {
        $criteria = $params->get('query', []);
        $orderBy = $params->get('order_by', []);
        
        $adapter = $this->getRepository()->getPaginatorAdapter($criteria, $orderBy);
        return new $this->collectionClass($adapter);
    }
Fetch all or a subset of resources

@param  array $params
@return ApiProblem|mixed