Sleimanx2\Plastic\Persistence\EloquentPersistence::reindex PHP 메소드

reindex() 공개 메소드

Reindex a collection of Models.
public reindex ( array | Collection $collection = [] ) : mixed
$collection array | Illuminate\Support\Collection
리턴 mixed
    public function reindex($collection = [])
    {
        $this->bulkDelete($collection);
        return $this->bulkSave($collection);
    }