Code Duplication    Length = 9-12 lines in 2 locations

src/Comodojo/Dispatcher/Router/RoutingTable.php 2 locations

@@ 67-78 (lines=12) @@
64
65
    }
66
67
    public function get($route) {
68
69
        $folders = explode("/", $route);
70
71
        $regex = $this->readpath($folders);
72
73
        if (isset($this->routes[$regex]))
74
            return $this->routes[$regex];
75
        else
76
            return null;
77
78
    }
79
80
    public function remove($route) {
81
@@ 80-88 (lines=9) @@
77
78
    }
79
80
    public function remove($route) {
81
82
        $folders = explode("/", $route);
83
84
        $regex = $this->readpath($folders);
85
86
        if (isset($this->routes[$regex])) unset($this->routes[$regex]);
87
88
    }
89
90
    public function routes() {
91