original_string: private static function driver()
      {
          $options = config('cache.options');
  
          $driver = config('cache.default');
  
          switch ($driver) {
              case 'file':
                      return instance(FileDriver::class);
                  break;
  
              case 'apc':
                      return instance(ApcDriver::class);
                  break;
  
              case 'database':
                      return instance(PDODriver::class);
                  break;
  
              default:
                      exception(DriverNotFoundException::class);
                  break;
          }
      }
code: private static function driver()
      {
          $options = config('cache.options');
  
          $driver = config('cache.default');
  
          switch ($driver) {
              case 'file':
                      return instance(FileDriver::class);
                  break;
  
              case 'apc':
                      return instance(ApcDriver::class);
                  break;
  
              case 'database':
                      return instance(PDODriver::class);
                  break;
  
              default:
                      exception(DriverNotFoundException::class);
                  break;
          }
      }
code_tokens: private static function driver ( ) { $ options = config ( 'cache.options' ) ; $ driver = config ( 'cache.default' ) ; switch ( $ driver ) { case 'file' : return instance ( FileDriver :: class ) ; break ; case 'apc' : return instance ( ApcDriver :: class ) ; break ; case 'database' : return instance ( PDODriver :: class ) ; break ; default : exception ( DriverNotFoundException :: class ) ; break ; } }
docstring: Set the cache surface driver.
  
  @return Driver
docstring_tokens: Set the cache surface driver .