在Kohana你可以测试这样的路线
$route = Route::get('admin');
echo Kohana_Debug::dump($route->matches('admin/user/edit/10'));
如何在symfony2中测试路由。
答案 0 :(得分:7)
您是否尝试过控制台命令?请查看文档页面documentation page
php app/console router:debug
php app/console router:debug article_show
php app/console router:match /blog/my-latest-post