-
Notifications
You must be signed in to change notification settings - Fork 88
/
.stubs.php
101 lines (69 loc) · 4.51 KB
/
.stubs.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?php
namespace Illuminate\Database\Eloquent {
use Closure;
class Builder
{
// join relationship methods
/** @return self */
public function joinRelationship(string $relationName, Closure|array|string $callback = null, string $joinType = 'join', bool $useAlias = false, bool $disableExtraConditions = false, string $morphable = null) {}
/** @return self */
public function leftJoinRelationship(string $relationName, Closure|array|string $callback = null, string $joinType = 'join', bool $useAlias = false, bool $disableExtraConditions = false, string $morphable = null) {}
/** @return self */
public function rightJoinRelationship(string $relationName, Closure|array|string $callback = null, string $joinType = 'join', bool $useAlias = false, bool $disableExtraConditions = false, string $morphable = null) {}
/** @return self */
public function joinRelationshipUsingAlias(string $relationName, Closure|array|string $callback = null, bool $disableExtraConditions = false, string $morphable = null) {}
/** @return self */
public function leftJoinRelationshipUsingAlias(string $relationName, Closure|array|string $callback = null, bool $disableExtraConditions = false, string $morphable = null) {}
/** @return self */
public function rightJoinRelationshipUsingAlias(string $relationName, Closure|array|string $callback = null, bool $disableExtraConditions = false, string $morphable = null) {}
/** @return self */
public function joinNestedRelationship(string $relationships, Closure|array|string $callback = null, string $joinType = 'join', bool $useAlias = false, bool $disableExtraConditions = false, ?string $morphable = null) {}
/** @return self */
public function orderByPowerJoins(string|array $sort, string $direction = 'asc', ?string $aggregation = null, $joinType = 'join', $aliases = null) {}
/** @return self */
public function orderByLeftPowerJoins(string|array $sort, string $direction = 'asc') {}
/** @return self */
public function orderByPowerJoinsCount(string|array $sort, string $direction = 'asc') {}
/** @return self */
public function orderByLeftPowerJoinsCount(string|array $sort, string $direction = 'asc') {}
/** @return self */
public function orderByPowerJoinsSum(string|array $sort, string $direction = 'asc') {}
/** @return self */
public function orderByLeftPowerJoinsSum(string|array $sort, string $direction = 'asc') {}
/** @return self */
public function orderByPowerJoinsAvg(string|array $sort, string $direction = 'asc') {}
/** @return self */
public function orderByLeftPowerJoinsAvg(string|array $sort, $direction = 'asc') {}
/** @return self */
public function orderByPowerJoinsMin(string|array $sort, string $direction = 'asc') {}
/** @return self */
public function orderByLeftPowerJoinsMin(string|array $sort, string $direction = 'asc') {}
/** @return self */
public function orderByPowerJoinsMax(string|array $sort, string $direction = 'asc') {}
/** @return self */
public function orderByLeftPowerJoinsMax(string|array $sort, string $direction = 'asc') {}
/** @return self */
public function powerJoinHas(string $relation, string $operator = '>=', int $count = 1, string $boolean = 'and', Closure|array|string $callback = null, ?string $morphable = null) {}
/** @return self */
public function powerJoinDoesntHave(string $relation, string $boolean = 'and', Closure|array|string $callback = null) {}
/** @return self */
public function powerJoinWhereHas(string $relation, Closure|array|string $callback = null, string $operator = '>=', int $count = 1) {}
// PowerJoinClause methods for when a closure is being used as a callback
/** @return self */
public function as(string $alias, ?string $joinedTableAlias = null) {}
/** @return self */
public function on($first, $operator = null, $second = null, $boolean = 'and') {}
/** @return self */
public function withGlobalScopes() {}
/** @return self */
public function withTrashed() {}
/** @return self */
public function onlyTrashed() {}
/** @return self */
public function left() {}
/** @return self */
public function right() {}
/** @return self */
public function inner() {}
}
}