adding a pagination api

ref #24
This commit is contained in:
2016-08-19 21:27:50 +02:00
parent 09b258876d
commit 2732bb1553
13 changed files with 1241 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
services:
chill_main.paginator_factory:
class: Chill\MainBundle\Pagination\PaginatorFactory
arguments:
- "@request_stack"
- "@router"
- "%chill_main.pagination.item_per_page%"
chill_main.paginator.twig_extensions:
class: Chill\MainBundle\Pagination\ChillPaginationTwig
tags:
- { name: twig.extension }