public function getRoute($route = null)
    {
        $routes = $this->getConsole()->getRoutes($route);
        $l1 = 10; $l2 = 10; $l3 = 10;
        $list = "";
        foreach($routes as $route) {
            if($l1 < strlen($route[1])) {
                $l1 = strlen($route[1]);
            }
            if($l2 < strlen($route[0])) {
                $l2 = strlen($route[0]);
            }
            if($l3 < strlen($route[2])) {
                $l3 = strlen($route[2]);
            }
        }
        foreach($routes as $route) {
            $list .= 
"| $route[1]".str_repeat(' ',$l1-strlen($route[1]))." | $route[0]".str_repeat(' ',$l2-strlen($route[0]))." | $route[2]".str_repeat(' ',$l3-strlen($route[2]))." |
+".str_repeat('-',$l1+2)."+".str_repeat('-',$l2+2)."+".str_repeat('-',$l3+2)."+
";
        }
        $list = "
+".str_repeat('-',$l1+2)."+".str_repeat('-',$l2+2)."+".str_repeat('-',$l3+2)."+
| ".Colors::GREEN.Colors::BG_BLACK."URI".Colors::WHITE.Colors::BG_BLACK.str_repeat(' ',$l1-strlen('URI'))." | ".Colors::GREEN.Colors::BG_BLACK."Method".Colors::WHITE.Colors::BG_BLACK.str_repeat(' ',$l2-strlen('Method'))." | ".Colors::GREEN.Colors::BG_BLACK."Action".Colors::WHITE.Colors::BG_BLACK.str_repeat(' ',$l3-strlen('Action'))." |
+".str_repeat('-',$l1+2)."+".str_repeat('-',$l2+2)."+".str_repeat('-',$l3+2)."+
".$list;
        return $list;
    }
public function getRoute($route = null)
    {
        $routes = $this->getConsole()->getRoutes($route);
        $l1 = 10; $l2 = 10; $l3 = 10;
        $list = "";
        foreach($routes as $route) {
            if($l1 < strlen($route[1])) {
                $l1 = strlen($route[1]);
            }
            if($l2 < strlen($route[0])) {
                $l2 = strlen($route[0]);
            }
            if($l3 < strlen($route[2])) {
                $l3 = strlen($route[2]);
            }
        }
        foreach($routes as $route) {
            $list .= 
"| $route[1]".str_repeat(' ',$l1-strlen($route[1]))." | $route[0]".str_repeat(' ',$l2-strlen($route[0]))." | $route[2]".str_repeat(' ',$l3-strlen($route[2]))." |
+".str_repeat('-',$l1+2)."+".str_repeat('-',$l2+2)."+".str_repeat('-',$l3+2)."+
";
        }
        $list = "
+".str_repeat('-',$l1+2)."+".str_repeat('-',$l2+2)."+".str_repeat('-',$l3+2)."+
| ".Colors::GREEN.Colors::BG_BLACK."URI".Colors::WHITE.Colors::BG_BLACK.str_repeat(' ',$l1-strlen('URI'))." | ".Colors::GREEN.Colors::BG_BLACK."Method".Colors::WHITE.Colors::BG_BLACK.str_repeat(' ',$l2-strlen('Method'))." | ".Colors::GREEN.Colors::BG_BLACK."Action".Colors::WHITE.Colors::BG_BLACK.str_repeat(' ',$l3-strlen('Action'))." |
+".str_repeat('-',$l1+2)."+".str_repeat('-',$l2+2)."+".str_repeat('-',$l3+2)."+
".$list;
        return $list;
    }
public function getRoute ( $ route = null ) { $ routes = $ this -> getConsole ( ) -> getRoutes ( $ route ) ; $ l1 = 10 ; $ l2 = 10 ; $ l3 = 10 ; $ list = "" ; foreach ( $ routes as $ route ) { if ( $ l1 < strlen ( $ route [ 1 ] ) ) { $ l1 = strlen ( $ route [ 1 ] ) ; } if ( $ l2 < strlen ( $ route [ 0 ] ) ) { $ l2 = strlen ( $ route [ 0 ] ) ; } if ( $ l3 < strlen ( $ route [ 2 ] ) ) { $ l3 = strlen ( $ route [ 2 ] ) ; } } foreach ( $ routes as $ route ) { $ list .= "| $route[1]" . str_repeat ( ' ' , $ l1 - strlen ( $ route [ 1 ] ) ) . " | $route[0]" . str_repeat ( ' ' , $ l2 - strlen ( $ route [ 0 ] ) ) . " | $route[2]" . str_repeat ( ' ' , $ l3 - strlen ( $ route [ 2 ] ) ) . " |
+" . str_repeat ( '-' , $ l1 + 2 ) . "+" . str_repeat ( '-' , $ l2 + 2 ) . "+" . str_repeat ( '-' , $ l3 + 2 ) . "+
" ; } $ list = "
+" . str_repeat ( '-' , $ l1 + 2 ) . "+" . str_repeat ( '-' , $ l2 + 2 ) . "+" . str_repeat ( '-' , $ l3 + 2 ) . "+
| " . Colors :: GREEN . Colors :: BG_BLACK . "URI" . Colors :: WHITE . Colors :: BG_BLACK . str_repeat ( ' ' , $ l1 - strlen ( 'URI' ) ) . " | " . Colors :: GREEN . Colors :: BG_BLACK . "Method" . Colors :: WHITE . Colors :: BG_BLACK . str_repeat ( ' ' , $ l2 - strlen ( 'Method' ) ) . " | " . Colors :: GREEN . Colors :: BG_BLACK . "Action" . Colors :: WHITE . Colors :: BG_BLACK . str_repeat ( ' ' , $ l3 - strlen ( 'Action' ) ) . " |
+" . str_repeat ( '-' , $ l1 + 2 ) . "+" . str_repeat ( '-' , $ l2 + 2 ) . "+" . str_repeat ( '-' , $ l3 + 2 ) . "+
" . $ list ; return $ list ; }
Return list of routes.

@param  string|null  route
@return void
Return list of routes .