original_string: private function createDir($path)
      {
          if (!is_dir($path)) {
              $success = mkdir($path, 0775, true);
              if (!$success) {
                  throw new \Exception("Cannot create folder {$path}. Check file system permissions.");
              }
          }
      }
code: private function createDir($path)
      {
          if (!is_dir($path)) {
              $success = mkdir($path, 0775, true);
              if (!$success) {
                  throw new \Exception("Cannot create folder {$path}. Check file system permissions.");
              }
          }
      }
code_tokens: private function createDir ( $ path ) { if ( ! is_dir ( $ path ) ) { $ success = mkdir ( $ path , 0775 , true ) ; if ( ! $ success ) { throw new \ Exception ( "Cannot create folder {$path}. Check file system permissions." ) ; } } }
docstring: Create Directory
  If path doesn't exist, create it
docstring_tokens: Create Directory If path doesn t exist create it