public function setNames($old, $name, Route $route)
    {
        // Verificar se tem old para remover
        if ((! is_null($old)) && (isset($this->allNames[$old]))) {
            unset($this->allNames[$old]);
        }

        if (! is_null($name)) {
            $this->allNames[$name] = $route;
        }
    }