original_string: protected function createFolder($folderPath)
      {
          if(!@mkdir($folderPath,0777,true) && !is_dir($folderPath))
          {
              throw new FileSystemException(
                  new Phrase('Folder can not be created, but does not exist.')
              );
          }     
          
          return $this;
      }
code: protected function createFolder($folderPath)
      {
          if(!@mkdir($folderPath,0777,true) && !is_dir($folderPath))
          {
              throw new FileSystemException(
                  new Phrase('Folder can not be created, but does not exist.')
              );
          }     
          
          return $this;
      }
code_tokens: protected function createFolder ( $ folderPath ) { if ( ! @ mkdir ( $ folderPath , 0777 , true ) && ! is_dir ( $ folderPath ) ) { throw new FileSystemException ( new Phrase ( 'Folder can not be created, but does not exist.' ) ) ; } return $ this ; }
docstring: Create a folder path, if folder does not exist
  
  @param $folderPath
  @return $this
  @throws \Magento\Framework\Exception\FileSystemException
docstring_tokens: Create a folder path if folder does not exist