/**
  * Register the session booting event.
  *
  * @param  Illuminate\Foundation\Application  $app
  * @return void
  */
 protected function registerBootingEvent($app)
 {
     $app->booting(function ($app) {
         $app['session']->start($app['cookie'], $app['config']['session.cookie']);
     });
 }