original_string: private function createDirectoryIfNotExists($absoluteTargetPath)
      {
          if (File::isDirectory($absoluteTargetPath) && File::isWritable($absoluteTargetPath)) {
              return true;
          }
  
          try {
              @File::makeDirectory($absoluteTargetPath, 0777, true);
  
              return true;
          } catch (Exception $e) {
              throw new ImageuploadException($e->getMessage());
          }
      }
code: private function createDirectoryIfNotExists($absoluteTargetPath)
      {
          if (File::isDirectory($absoluteTargetPath) && File::isWritable($absoluteTargetPath)) {
              return true;
          }
  
          try {
              @File::makeDirectory($absoluteTargetPath, 0777, true);
  
              return true;
          } catch (Exception $e) {
              throw new ImageuploadException($e->getMessage());
          }
      }
code_tokens: private function createDirectoryIfNotExists ( $ absoluteTargetPath ) { if ( File :: isDirectory ( $ absoluteTargetPath ) && File :: isWritable ( $ absoluteTargetPath ) ) { return true ; } try { @ File :: makeDirectory ( $ absoluteTargetPath , 0777 , true ) ; return true ; } catch ( Exception $ e ) { throw new ImageuploadException ( $ e -> getMessage ( ) ) ; } }
docstring: Check and create directory if not exists.
  
  @access private
  @param  string $absoluteTargetPath
  @return bool
docstring_tokens: Check and create directory if not exists .