public function saved(Model $model)
    {
        if ($model::$__es_enable && $model->shouldIndex())
        {
            Queue::push('Iverberk\Larasearch\Jobs\ReindexJob', $this->findAffectedModels($model));
        }
    }
public function saved(Model $model)
    {
        if ($model::$__es_enable && $model->shouldIndex())
        {
            Queue::push('Iverberk\Larasearch\Jobs\ReindexJob', $this->findAffectedModels($model));
        }
    }
public function saved ( Model $ model ) { if ( $ model :: $ __es_enable && $ model -> shouldIndex ( ) ) { Queue :: push ( 'Iverberk\Larasearch\Jobs\ReindexJob' , $ this -> findAffectedModels ( $ model ) ) ; } }
Model save event handler

@param Model $model
Model save event handler