3
测试路线在Kohana中您可以测试这样如何Symfony2的
$route = Route::get('admin');
echo Kohana_Debug::dump($route->matches('admin/user/edit/10'));
路线,我怎么能在Symfony2的测试路线。
测试路线在Kohana中您可以测试这样如何Symfony2的
$route = Route::get('admin');
echo Kohana_Debug::dump($route->matches('admin/user/edit/10'));
路线,我怎么能在Symfony2的测试路线。
您是否尝试过控制台命令?查看文档页面documentation page
php app/console router:debug
php app/console router:debug article_show
php app/console router:match /blog/my-latest-post