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

@@ -35,7 +35,17 @@ class Configuration implements ConfigurationInterface
->arrayNode('resources')
->prototype('scalar')->end()
->end()
->end()
->end()
->arrayNode('pagination')
->canBeDisabled()
->children()
->integerNode('item_per_page')
->info('The number of item to show in the page result, by default')
->min(1)
->defaultValue(50)
->end()
->end()
->end()
->end();