Artesaos\Defender\Repositories\Eloquent\AbstractEloquentRepository::getList PHP Method

getList() public method

public getList ( string | integer $value, string $key = 'id' ) : Illuminate\Database\Eloquent\Collection
$value string | integer
$key string
return Illuminate\Database\Eloquent\Collection
    public function getList($value, $key = 'id')
    {
        return $this->model->pluck($value, $key);
    }