%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/graphicd/public_html/vebto/vendor/laravel/scout/src/Jobs/
Upload File :
Create Path :
Current File : /home/graphicd/public_html/vebto/vendor/laravel/scout/src/Jobs/RemoveableScoutCollection.php

<?php

namespace Laravel\Scout\Jobs;

use Illuminate\Database\Eloquent\Collection;
use Laravel\Scout\Searchable;

class RemoveableScoutCollection extends Collection
{
    /**
     * Get the Scout identifiers for all of the entities.
     *
     * @return array
     */
    public function getQueueableIds()
    {
        if ($this->isEmpty()) {
            return [];
        }

        return in_array(Searchable::class, class_uses_recursive($this->first()))
                    ? $this->map->getScoutKey()->all()
                    : parent::getQueueableIds();
    }
}

Zerion Mini Shell 1.0