original_string: public function deleteAll()
      {
          if ($this->isAbsolute()) {
              if ($this->isFile() || $this->isLink()) {
                  // delete file and symlink
                  return unlink($this->getPathname());
              } elseif ($this->isDir()) {
                  // delete directories and its content
                  return $this->deleteAction($this->getPathname(), true);
              }
              return false;
          } else {
              throw new FileException('Given file path is not a absolute path.');
          }
      }
code: public function deleteAll()
      {
          if ($this->isAbsolute()) {
              if ($this->isFile() || $this->isLink()) {
                  // delete file and symlink
                  return unlink($this->getPathname());
              } elseif ($this->isDir()) {
                  // delete directories and its content
                  return $this->deleteAction($this->getPathname(), true);
              }
              return false;
          } else {
              throw new FileException('Given file path is not a absolute path.');
          }
      }
code_tokens: public function deleteAll ( ) { if ( $ this -> isAbsolute ( ) ) { if ( $ this -> isFile ( ) || $ this -> isLink ( ) ) { // delete file and symlink return unlink ( $ this -> getPathname ( ) ) ; } elseif ( $ this -> isDir ( ) ) { // delete directories and its content return $ this -> deleteAction ( $ this -> getPathname ( ) , true ) ; } return false ; } else { throw new FileException ( 'Given file path is not a absolute path.' ) ; } }
docstring: delete the file or directory with its content of the current file path
  
  @return      bool            true if file or directory was deleted, false if file or directory was not found
  @throws      FileException
docstring_tokens: delete the file or directory with its content of the current file path