Example #1
0
 /**
  * Constructor.
  *
  * @param  \Cartalyst\Alerts\Native\AlertsBootstrapper  $bootstrapper
  * @return void
  */
 public function __construct(AlertsBootstrapper $bootstrapper = null)
 {
     if ($bootstrapper === null) {
         $bootstrapper = new AlertsBootstrapper();
     }
     $this->alerts = $bootstrapper->createAlerts();
 }