public function register($engine, Closure $resolver)
    {
        unset($this->resolved[$engine]);

        $this->resolvers[$engine] = $resolver;
    }
public function register($engine, Closure $resolver)
    {
        unset($this->resolved[$engine]);

        $this->resolvers[$engine] = $resolver;
    }
public function register ( $ engine , Closure $ resolver ) { unset ( $ this -> resolved [ $ engine ] ) ; $ this -> resolvers [ $ engine ] = $ resolver ; }
Register a new engine resolver.

The engine string typically corresponds to a file extension.

@param  string   $engine
@param  \Closure  $resolver
@return void
Register a new engine resolver .