Adapters
Adapters abstract the differences between the different types of data sources.
An adapter is coupled to a PageableInterface
instance, which consolidates the
common behaviors of the different types of data sources for providing pagination
functionality.
Sections
📄️ Doctrine ORM QueryBuilder
QueryBuilderAdapter takes a Doctrine ORM QueryBuilder instance. It supports
📄️ Doctrine ORM NativeQuery
NativeQueryAdapter allows you to use Doctrine's native SQL functionality. It
📄️ Doctrine Collections Selectable
Takes a Doctrine Selectable instance, including Doctrine repository and
📄️ Doctrine Collections Collection
The CollectionAdapter supports only offset pagination. The class works with a
📄️ Doctrine DBAL QueryBuilder
QueryBuilderAdapter takes a Doctrine DBAL QueryBuilder instance. It supports
📄️ Pagerfanta Adapter
Allows leveraging any of the existing Pagerfanta adapters. The