public function render(Route $route, $name = null)
    {
        if (null !== $name && true === $this->generatorCollection->has($name)) {
            $parameters = $this->generatorCollection->get($name)->generate();
        } else {
            $parameters = [ [] ];
        }

        foreach ($parameters as $parameter) {
            $this->renderWithParameters($route, $name, $parameter);
        }
    }