diff --git a/src/Knp/Component/Pager/Pagination/AbstractPagination.php b/src/Knp/Component/Pager/Pagination/AbstractPagination.php index fe94ca21..aeba96a9 100644 --- a/src/Knp/Component/Pager/Pagination/AbstractPagination.php +++ b/src/Knp/Component/Pager/Pagination/AbstractPagination.php @@ -2,7 +2,9 @@ namespace Knp\Component\Pager\Pagination; -abstract class AbstractPagination implements PaginationInterface +use Countable, Iterator, ArrayAccess; + +abstract class AbstractPagination implements PaginationInterface, Countable, Iterator, ArrayAccess { protected $currentPageNumber; protected $numItemsPerPage; diff --git a/src/Knp/Component/Pager/Pagination/PaginationInterface.php b/src/Knp/Component/Pager/Pagination/PaginationInterface.php index c3f6b520..1a43679e 100644 --- a/src/Knp/Component/Pager/Pagination/PaginationInterface.php +++ b/src/Knp/Component/Pager/Pagination/PaginationInterface.php @@ -2,14 +2,12 @@ namespace Knp\Component\Pager\Pagination; -use Countable, Iterator, ArrayAccess; - /** * Pagination interface strictly defines * the methods - paginator will use to populate the * pagination data */ -interface PaginationInterface extends Countable, Iterator, ArrayAccess +interface PaginationInterface { /** * @param integer $pageNumber