@@ -22,27 +22,27 @@ public function execute(Model $model): void
22
22
Collection::make ([
23
23
'bool insertModels(array $values) ' ,
24
24
'int upsertModels(array $values, string|array $uniqueBy, ?array $update = null) ' ,
25
- "{ $ builderClass } scope( \\Illuminate \\Database \\Eloquent \\Scope \ $scope) " ,
26
- "{ $ builderClass } scoped( \\Closure \ $callable) " ,
27
- "{ $ builderClass } preventInvalidDirection(string \ $direction) " ,
28
- "{ $ builderClass } withAggregateFunction(array \ $relations, \\Soyhuce \\EloquentExtended \\Aggregates \\Contracts \\AggregateFunction \ $aggregateFunction) " ,
29
- "{ $ builderClass } withAnyExists(array \ $relations, string \ $alias = 'related_exists') " ,
30
- "{ $ builderClass } withImplode(array|string \ $relations, string \ $column, string \ $glue, ?string \ $orderBy = null, string \ $direction = 'asc') " ,
31
- "{ $ builderClass } orderByNullsLast(string \ $column, string \ $direction = 'asc') " ,
32
- "{ $ builderClass } orderByRawNullsLast(string \ $sql) " ,
33
- "{ $ builderClass } orderByNullsFirst(string \ $column, string \ $direction = 'asc') " ,
34
- "{ $ builderClass } orderByRawNullsFirst(string \ $sql) " ,
35
- "{ $ builderClass } orderByAggregate(string \ $relationName, string \ $column, string \ $direction = 'asc', ?string \ $function = null, ? \\Closure \ $constraints = null) " ,
36
- "{ $ builderClass } orderByExists(string \ $relation, ? \\Closure \ $constraints = null, string \ $direction = 'asc') " ,
37
- "{ $ builderClass } orderByExistsDesc(string \ $relation, ? \\Closure \ $constraints = null) " ,
38
- "{ $ builderClass } orderByCount(string \ $relation, ? \\Closure \ $constraints = null, string \ $direction = 'asc') " ,
39
- "{ $ builderClass } orderByCountDesc(string \ $relation, ? \\Closure \ $constraints = null) " ,
40
- "{ $ builderClass } orderBySum(string \ $relation, string \ $column, ? \\Closure \ $constraints = null, string \ $direction = 'asc') " ,
41
- "{ $ builderClass } orderBySumDesc(string \ $relation, string \ $column, ? \\Closure \ $constraints = null) " ,
42
- "{ $ builderClass } orderByMin(string \ $relation, string \ $column, ? \\Closure \ $constraints = null, string \ $direction = 'asc') " ,
43
- "{ $ builderClass } orderByMinDesc(string \ $relation, string \ $column, ? \\Closure \ $constraints = null) " ,
44
- "{ $ builderClass } orderByMax(string \ $relation, string \ $column, ? \\Closure \ $constraints = null, string \ $direction = 'asc') " ,
45
- "{ $ builderClass } orderByMaxDesc(string \ $relation, string \ $column, ? \\Closure \ $constraints = null) " ,
25
+ ' $this scope( \\Illuminate \\Database \\Eloquent \\Scope $scope) ' ,
26
+ ' $this scoped( \\Closure $callable) ' ,
27
+ ' $this preventInvalidDirection(string $direction)' ,
28
+ ' $this withAggregateFunction(array $relations, \\Soyhuce \\EloquentExtended \\Aggregates \\Contracts \\AggregateFunction $aggregateFunction) ' ,
29
+ ' $this withAnyExists(array $relations, string $alias = \ 'related_exists \' ) ' ,
30
+ ' $this withImplode(array|string $relations, string $column, string $glue, ?string $orderBy = null, string $direction = \ 'asc \' ) ' ,
31
+ ' $this orderByNullsLast(string $column, string $direction = \ 'asc \' ) ' ,
32
+ ' $this orderByRawNullsLast(string $sql)' ,
33
+ ' $this orderByNullsFirst(string $column, string $direction = \ 'asc \' ) ' ,
34
+ ' $this orderByRawNullsFirst(string $sql)' ,
35
+ ' $this orderByAggregate(string $relationName, string $column, string $direction = \ 'asc \ ', ?string $function = null, ? \\Closure $constraints = null) ' ,
36
+ ' $this orderByExists(string $relation, ? \\Closure $constraints = null, string $direction = \ 'asc \' ) ' ,
37
+ ' $this orderByExistsDesc(string $relation, ? \\Closure $constraints = null) ' ,
38
+ ' $this orderByCount(string $relation, ? \\Closure $constraints = null, string $direction = \ 'asc \' ) ' ,
39
+ ' $this orderByCountDesc(string $relation, ? \\Closure $constraints = null) ' ,
40
+ ' $this orderBySum(string $relation, string $column, ? \\Closure $constraints = null, string $direction = \ 'asc \' ) ' ,
41
+ ' $this orderBySumDesc(string $relation, string $column, ? \\Closure $constraints = null) ' ,
42
+ ' $this orderByMin(string $relation, string $column, ? \\Closure $constraints = null, string $direction = \ 'asc \' ) ' ,
43
+ ' $this orderByMinDesc(string $relation, string $column, ? \\Closure $constraints = null) ' ,
44
+ ' $this orderByMax(string $relation, string $column, ? \\Closure $constraints = null, string $direction = \ 'asc \' ) ' ,
45
+ ' $this orderByMaxDesc(string $relation, string $column, ? \\Closure $constraints = null) ' ,
46
46
"{$ modelClass }|null random() " ,
47
47
])
48
48
->when (
0 commit comments