original_string: protected function createFileDriver()
      {
          $path   = $this->config['files'];
  
          $fileSystem = Helper::getFileSystem();
  
          if (!$fileSystem->isDirectory($path)) {
              throw new SessionException("session path({$path}) is not exists.");
          }
  
          return new FileSessionHandler($fileSystem, $path);
      }
code: protected function createFileDriver()
      {
          $path   = $this->config['files'];
  
          $fileSystem = Helper::getFileSystem();
  
          if (!$fileSystem->isDirectory($path)) {
              throw new SessionException("session path({$path}) is not exists.");
          }
  
          return new FileSessionHandler($fileSystem, $path);
      }
code_tokens: protected function createFileDriver ( ) { $ path = $ this -> config [ 'files' ] ; $ fileSystem = Helper :: getFileSystem ( ) ; if ( ! $ fileSystem -> isDirectory ( $ path ) ) { throw new SessionException ( "session path({$path}) is not exists." ) ; } return new FileSessionHandler ( $ fileSystem , $ path ) ; }
docstring: create file session driver
  throw SessionException when session save path is not exists
  
  @return FileSessionHandler
  @throws SessionException
docstring_tokens: create file session driver throw SessionException when session save path is not exists