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