protected function setRouteProperties()
    {
        $this->current_route = $this->route->get();
        $this->command = $this->current_route['command'];
        $this->params = gplcart_array_trim($this->current_route['params'], true);
    }