original_string: public function register($engine, Closure $resolver)
      {
          unset($this->resolved[$engine]);
  
          $this->resolvers[$engine] = $resolver;
      }
code: public function register($engine, Closure $resolver)
      {
          unset($this->resolved[$engine]);
  
          $this->resolvers[$engine] = $resolver;
      }
code_tokens: public function register ( $ engine , Closure $ resolver ) { unset ( $ this -> resolved [ $ engine ] ) ; $ this -> resolvers [ $ engine ] = $ resolver ; }
docstring: Register a new engine resolver.
  
  The engine string typically corresponds to a file extension.
  
  @param  string   $engine
  @param  \Closure  $resolver
  @return void
docstring_tokens: Register a new engine resolver .