public function name($name)
    {
        $this->name = $name;

        $routes = (array) $this->config['app.routes'];

        $this->config['app.routes'] = array_merge(
            $routes,
            [$name => $this->getPath()]
        );
    }