Last active
December 30, 2015 11:09
-
-
Save hejrobin/7820393 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"/": "DefaultController", | |
"foo": "DefaultController", | |
"user": { | |
":uri": "AccountController::getPerson", | |
":uri/friends": "FriendController::getFriendsOf" | |
}, | |
"admin": { | |
"component": "AdminComponent", | |
"constraints": [ | |
"AdminConstraint" | |
], | |
"/": "DashboardController", | |
"dashboard": "DashboardController", | |
"account": "AccountController", | |
"account/:uri": { | |
"path": "AccountController::getAccountBySlug", | |
"constraints": [ | |
"FooConstraint", | |
"BarConstraint" | |
] | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[/] => stdClass Object | |
( | |
[isAsync] => | |
[asyncMethod] => | |
[component] => | |
[constraints] => | |
[controller] => DefaultController | |
[callback] => get | |
[parameters] => Array | |
( | |
) | |
) | |
[foo] => stdClass Object | |
( | |
[isAsync] => | |
[asyncMethod] => | |
[component] => | |
[constraints] => | |
[controller] => DefaultController | |
[callback] => get | |
[parameters] => Array | |
( | |
) | |
) | |
[user/:uri] => stdClass Object | |
( | |
[isAsync] => | |
[asyncMethod] => | |
[component] => | |
[constraints] => | |
[controller] => AccountController | |
[callback] => getPerson | |
[parameters] => Array | |
( | |
) | |
) | |
[user/:uri/friends] => stdClass Object | |
( | |
[isAsync] => | |
[asyncMethod] => | |
[component] => | |
[constraints] => | |
[controller] => FriendController | |
[callback] => getFriendsof | |
[parameters] => Array | |
( | |
) | |
) | |
[admin] => stdClass Object | |
( | |
[isAsync] => | |
[asyncMethod] => | |
[component] => AdminComponent | |
[constraints] => Array | |
( | |
[0] => AdminConstraint | |
) | |
[controller] => DashboardController | |
[callback] => get | |
[parameters] => Array | |
( | |
) | |
) | |
[admin/dashboard] => stdClass Object | |
( | |
[isAsync] => | |
[asyncMethod] => | |
[component] => AdminComponent | |
[constraints] => Array | |
( | |
[0] => AdminConstraint | |
) | |
[controller] => DashboardController | |
[callback] => get | |
[parameters] => Array | |
( | |
) | |
) | |
[admin/account] => stdClass Object | |
( | |
[isAsync] => | |
[asyncMethod] => | |
[component] => AdminComponent | |
[constraints] => Array | |
( | |
[0] => AdminConstraint | |
) | |
[controller] => AccountController | |
[callback] => get | |
[parameters] => Array | |
( | |
) | |
) | |
[admin/account/:uri] => stdClass Object | |
( | |
[isAsync] => | |
[asyncMethod] => | |
[component] => AdminComponent | |
[constraints] => Array | |
( | |
[0] => AdminConstraint | |
[1] => FooConstraint | |
[2] => BarConstraint | |
) | |
[controller] => AccountController | |
[callback] => getAccountbyslug | |
[parameters] => Array | |
( | |
) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment