Getting a Collection of Resources
app_book_index:
path: /books
methods: [GET]
defaults:
_controller: app.controller.book::indexActionOverriding the Template and Criteria
app_book_index_inactive:
path: /books/disabled
methods: [GET]
defaults:
_controller: app.controller.book::indexAction
_sylius:
filterable: true
criteria:
enabled: false
template: Book/disabled.html.twigSorting
Using a Custom Repository Method
Note
Changing the "Max Per Page" Option of Paginator
Disabling Pagination - Getting a Simple Collection
Changing the serialization groups of the elements in a paginated response
Configuration Reference
Last updated
Was this helpful?