读取已经定义的所有路由配置
public function getRoutes(void)
此函数含有任何参数
成功返回 Array, 无设置时返回 NULL
<?php
class Bootstrap
{
    public function _initOne($dispatcher)
    {
        $route = array(
            'service' => 'user',
            'action'  => 'top',
        );
        $route_news = array(
            'service' => 'news',
            'action'  => 'list',
        );
        $dispatcher->getRouter()->getRoutes();
        $dispatcher->getRouter()->addRoute('index', $route);
        var_dump($dispatcher->getRouter()->addRoute('news', $route_news));
    }
}