original_string: protected function _rollbackCopyPackage()
      {
          if (!empty($this->_plugin['name'])) {
              $destinationPath = normalizePath(ROOT . "/plugins/{$this->_plugin['name']}/");
              if (is_dir($destinationPath) && is_writable($destinationPath)) {
                  $dst = new Folder($destinationPath);
                  $dst->delete();
              }
          }
      }
code: protected function _rollbackCopyPackage()
      {
          if (!empty($this->_plugin['name'])) {
              $destinationPath = normalizePath(ROOT . "/plugins/{$this->_plugin['name']}/");
              if (is_dir($destinationPath) && is_writable($destinationPath)) {
                  $dst = new Folder($destinationPath);
                  $dst->delete();
              }
          }
      }
code_tokens: protected function _rollbackCopyPackage ( ) { if ( ! empty ( $ this -> _plugin [ 'name' ] ) ) { $ destinationPath = normalizePath ( ROOT . "/plugins/{$this->_plugin['name']}/" ) ; if ( is_dir ( $ destinationPath ) && is_writable ( $ destinationPath ) ) { $ dst = new Folder ( $ destinationPath ) ; $ dst -> delete ( ) ; } } }
docstring: Deletes the directory that was copied to its final destination.
  
  @return void
docstring_tokens: Deletes the directory that was copied to its final destination .