Model/EncodeEpisodeJob.php
private function finalizeEpisode($episode) {
        $event = new EncodedEpisodeEvent($episode);
        $this->getContainer()->get('event_dispatcher')->dispatch(
            OktolabMediaEvent::ENCODED_EPISODE,
            $event
        );

        $this->oktolab_media->addFinalizeEpisodeJob(
            $episode->getUniqID(),
            false,
            true
        );
    }
private function finalizeEpisode($episode) {
        $event = new EncodedEpisodeEvent($episode);
        $this->getContainer()->get('event_dispatcher')->dispatch(
            OktolabMediaEvent::ENCODED_EPISODE,
            $event
        );

        $this->oktolab_media->addFinalizeEpisodeJob(
            $episode->getUniqID(),
            false,
            true
        );
    }
private function finalizeEpisode ( $ episode ) { $ event = new EncodedEpisodeEvent ( $ episode ) ; $ this -> getContainer ( ) -> get ( 'event_dispatcher' ) -> dispatch ( OktolabMediaEvent :: ENCODED_EPISODE , $ event ) ; $ this -> oktolab_media -> addFinalizeEpisodeJob ( $ episode -> getUniqID ( ) , false , true ) ; }
adds finalize job
and dispatches encoded_episode event
adds finalize job and dispatches encoded_episode event