/** * Set the event dispatcher instance. * * @param \Illuminate\Contracts\Events\Dispatcher $events * @return void * @static */ public static function setDispatcher($events) { \Illuminate\View\Factory::setDispatcher($events); }