MenuItemCollectionParams final class
Minn\Rest\MenuItemCollectionParams · public/minn/src/Minn/Rest/MenuItemCollectionParams.php · 39 lines · implements Minn\Http\RouteParams
The menu items list's parameters as the reference declares them: the nav_menu_item type's post list (its menus term filter among them), a hundred to a page in ascending menu order by default, menu_order among the orderby values and, last, a menu_order filter of its own.
Constants and properties
| private | TYPE = 'nav_menu_item' |
Public
| static | for(array $captures): array# | The menu items list's parameters, as the index publishes them and the router judges them. |
| static | listed(): array# | The parameters asked afresh, as the list asks for them each time it runs: rest_nav_menu_item_collection_params runs again. @return array<string, array<string, mixed>> |
Internals 1
Private and protected methods: how the class does its work. Not a contract; they change whenever the code is tidied.
| private | adjusted(array $params): array# |
|
Nothing matches.