/**
  * {@inheritdoc).
  */
 public function rename($hash, $name)
 {
     $this->dispatcher->dispatch('elfinder.' . __METHOD__, new ElFinderEvent(func_get_args()));
     return $this->driver->rename($hash, $name);
 }