original_string: protected function returnStorageObject()
      {
          $driver = $this->driver;
          $options = $this->options;
  
          if (isset($this->supportedDriver[$driver])) {
              $class = $this->supportedDriver[$driver];
  
              return new $class($options);
          }
  
          throw new InvalidArgumentException("[{$driver}] not supported.");
      }
code: protected function returnStorageObject()
      {
          $driver = $this->driver;
          $options = $this->options;
  
          if (isset($this->supportedDriver[$driver])) {
              $class = $this->supportedDriver[$driver];
  
              return new $class($options);
          }
  
          throw new InvalidArgumentException("[{$driver}] not supported.");
      }
code_tokens: protected function returnStorageObject ( ) { $ driver = $ this -> driver ; $ options = $ this -> options ; if ( isset ( $ this -> supportedDriver [ $ driver ] ) ) { $ class = $ this -> supportedDriver [ $ driver ] ; return new $ class ( $ options ) ; } throw new InvalidArgumentException ( "[{$driver}] not supported." ) ; }
docstring: Return Storage Object.
  
  @throws InvalidArgumentException If required driver is not supported
  
  @return mixed
docstring_tokens: Return Storage Object .