protected function register($method, $route, $handler)
    {
        // Protect WordPress root route !
        if ($route == '/') {
            return;
        }

        // If the developer is registering multiple request methods to handle
        // the URI, we'll spin through each method and register the route
        // for each of them along with each URI and handler.

        // TODO : Only put the same method route to route array

        if (is_array($method)) {
            foreach ($method as $http) {
                $routeCollection = new Route($http, $route, new RouteHandler($handler));

                //Add this route to the $routeCollections params
                array_push($this->routeCollections, $routeCollection);
            }

            return;
        }

        // Create routeCollection from params
        $routeCollection = new Route($method, $route, new RouteHandler($handler));

        //Add this route to the $routeCollections params
        array_push($this->routeCollections, $routeCollection);

        return $this->routeCollections[sizeof($this->routeCollections) - 1];
    }