setEventDispatcher() public static method

public static setEventDispatcher ( Illuminate\Contracts\Events\Dispatcher $dispatcher )
$dispatcher Illuminate\Contracts\Events\Dispatcher
 /**
  * {@inheritdoc}
  */
 public function boot()
 {
     $this->registerNotificationSerializers();
     AbstractSerializeController::setContainer($this->app);
     AbstractSerializeController::setEventDispatcher($events = $this->app->make('events'));
     AbstractSerializer::setContainer($this->app);
     AbstractSerializer::setEventDispatcher($events);
 }