/**
  * {@inheritdoc).
  */
 public function mimeAccepted($mime, $mimes = array(), $empty = true)
 {
     $this->dispatcher->dispatch('elfinder.' . __METHOD__, new ElFinderEvent(func_get_args()));
     return $this->driver->mimeAccepted($mime, $mimes, $empty);
 }