private function dispatchPostUploadEvent($sourcefile, $targetfile)
    {
        if (null !== $this->_application &&
                null !== $this->_application->getEventDispatcher()) {
            $event = new \BackBee\Event\PostUploadEvent($sourcefile, $targetfile);
            $this->_application->getEventDispatcher()->dispatch('file.postupload', $event);
        }
    }
private function dispatchPostUploadEvent($sourcefile, $targetfile)
    {
        if (null !== $this->_application &&
                null !== $this->_application->getEventDispatcher()) {
            $event = new \BackBee\Event\PostUploadEvent($sourcefile, $targetfile);
            $this->_application->getEventDispatcher()->dispatch('file.postupload', $event);
        }
    }
private function dispatchPostUploadEvent ( $ sourcefile , $ targetfile ) { if ( null !== $ this -> _application && null !== $ this -> _application -> getEventDispatcher ( ) ) { $ event = new \ BackBee \ Event \ PostUploadEvent ( $ sourcefile , $ targetfile ) ; $ this -> _application -> getEventDispatcher ( ) -> dispatch ( 'file.postupload' , $ event ) ; } }
Dispatch postupload event.

@param string $sourcefile
@param string $targetfile
Dispatch postupload event .