public static function boot() { parent::boot(); // Setup event bindings... Alert::created(function ($alert) { \Queue::push(new AlertQueue($alert->id)); }); }