Locker\Repository\Base\EloquentRepository::index PHP 메소드

index() 공개 메소드

Gets all of the available models with the options.
public index ( array $opts ) : [Model]
$opts array
리턴 [Model]
    public function index(array $opts)
    {
        return $this->where($opts)->get()->each(function (Model $model) {
            return $this->format($model);
        });
    }