original_string: public function resolve($engine)
      {
          if (isset($this->resolved[$engine])) {
              return $this->resolved[$engine];
          }
  
          if (isset($this->resolvers[$engine])) {
              return $this->resolved[$engine] = call_user_func($this->resolvers[$engine]);
          }
  
          throw new InvalidArgumentException("Engine [{$engine}] not found.");
      }
code: public function resolve($engine)
      {
          if (isset($this->resolved[$engine])) {
              return $this->resolved[$engine];
          }
  
          if (isset($this->resolvers[$engine])) {
              return $this->resolved[$engine] = call_user_func($this->resolvers[$engine]);
          }
  
          throw new InvalidArgumentException("Engine [{$engine}] not found.");
      }
code_tokens: public function resolve ( $ engine ) { if ( isset ( $ this -> resolved [ $ engine ] ) ) { return $ this -> resolved [ $ engine ] ; } if ( isset ( $ this -> resolvers [ $ engine ] ) ) { return $ this -> resolved [ $ engine ] = call_user_func ( $ this -> resolvers [ $ engine ] ) ; } throw new InvalidArgumentException ( "Engine [{$engine}] not found." ) ; }
docstring: Resolve an engine instance by name.
  
  @param  string  $engine
  @return \Illuminate\Contracts\View\Engine
  
  @throws \InvalidArgumentException
docstring_tokens: Resolve an engine instance by name .