public function setUp()
 {
     if (PHP_SAPI == 'cli') {
         $_SERVER['REQUEST_METHOD'] = 'GET';
     }
     Router::clean();
     route('lc_home')->map('/', 'top');
     route('lc_post_new')->map('/post/new', '/post/new');
     route('lc_post_edit')->map('/post/{id}/edit', '/post/edit');
     route('lc_post_show')->map('/post/{id}/show', '/post/show');
     route('lc_post_create')->map('/post/create', '/post/create', 'POST');
     route('lc_post_update')->map('/post/{id}/update', '/post/update', 'POST|PUT');
     route('lc_post_comment')->map('/post/{id}/comment{cid}', '/post/comment');
     route('lc_blog_show')->map('/blog/{id}/{slug}', '/blog/show', 'GET', array('id' => '\\d+'));
     route('lc_area')->map('/area/{city}/{type}', '/area', 'GET', array('city' => '[a-zA-Z\\-_]+', 'type' => 'list|(poah|prin)\\d+'));
 }
/**
 * @internal
 * Matching the current route to the defined custom routes
 * @return string|boolean The matched route or false if no matched route is found
 */
function route_match()
{
    return Router::match();
}