src/Viserio/Component/View/Engine/EngineResolver.php
public function register(string $engine, Closure $resolver): EngineResolverContract
    {
        unset($this->resolved[$engine]);

        $this->resolvers[$engine] = $resolver;

        return $this;
    }
public function register(string $engine, Closure $resolver): EngineResolverContract
    {
        unset($this->resolved[$engine]);

        $this->resolvers[$engine] = $resolver;

        return $this;
    }
{@inheritdoc}