Merge pull request #9605 from TekkCraft/2.x-mapresource

Add connectOptions to doc block
This commit is contained in:
Mark Sch 2016-10-12 15:28:36 +02:00 committed by GitHub
commit 40c32e8bdf

View file

@ -523,6 +523,7 @@ class Router {
* - 'id' - The regular expression fragment to use when matching IDs. By default, matches
* integer values and UUIDs.
* - 'prefix' - URL prefix to use for the generated routes. Defaults to '/'.
* - 'connectOptions' Custom options for connecting the routes.
*
* @param string|array $controller A controller name or array of controller names (i.e. "Posts" or "ListItems")
* @param array $options Options to use when generating REST routes