src/Viserio/Component/View/ViewFactory.php
public function name(string $view, string $name): FactoryContract
    {
        $this->names[$name] = $view;

        return $this;
    }
public function name(string $view, string $name): FactoryContract
    {
        $this->names[$name] = $view;

        return $this;
    }
{@inheritdoc}