|
5 | 5 |
|
6 | 6 | /**
|
7 | 7 | * A helper file for Laravel, to provide autocomplete information to your IDE
|
8 |
| - * Generated for Laravel 11.42.1. |
| 8 | + * Generated for Laravel 11.43.2. |
9 | 9 | *
|
10 | 10 | * This file should not be included in your code, only analyzed by your IDE!
|
11 | 11 | *
|
@@ -11075,6 +11075,19 @@ public static function pushed($job, $callback = null)
|
11075 | 11075 | return $instance->pushed($job, $callback);
|
11076 | 11076 | }
|
11077 | 11077 |
|
| 11078 | + /** |
| 11079 | + * Get all of the raw pushes matching a truth-test callback. |
| 11080 | + * |
| 11081 | + * @param null|\Closure(string, ?string, array): bool $callback |
| 11082 | + * @return \Illuminate\Support\Collection<int, RawPushType> |
| 11083 | + * @static |
| 11084 | + */ |
| 11085 | + public static function pushedRaw($callback = null) |
| 11086 | + { |
| 11087 | + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ |
| 11088 | + return $instance->pushedRaw($callback); |
| 11089 | + } |
| 11090 | + |
11078 | 11091 | /**
|
11079 | 11092 | * Determine if there are any stored jobs for a given class.
|
11080 | 11093 | *
|
@@ -11231,6 +11244,18 @@ public static function pushedJobs()
|
11231 | 11244 | return $instance->pushedJobs();
|
11232 | 11245 | }
|
11233 | 11246 |
|
| 11247 | + /** |
| 11248 | + * Get the payloads that were pushed raw. |
| 11249 | + * |
| 11250 | + * @return list<RawPushType> |
| 11251 | + * @static |
| 11252 | + */ |
| 11253 | + public static function rawPushes() |
| 11254 | + { |
| 11255 | + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ |
| 11256 | + return $instance->rawPushes(); |
| 11257 | + } |
| 11258 | + |
11234 | 11259 | /**
|
11235 | 11260 | * Specify if jobs should be serialized and restored when being "pushed" to the queue.
|
11236 | 11261 | *
|
@@ -14555,6 +14580,7 @@ public static function flushMacros()
|
14555 | 14580 | * @method static \Illuminate\Routing\RouteRegistrar whereUuid(array|string $parameters)
|
14556 | 14581 | * @method static \Illuminate\Routing\RouteRegistrar whereIn(array|string $parameters, array $values)
|
14557 | 14582 | * @method static \Illuminate\Routing\RouteRegistrar as(string $value)
|
| 14583 | + * @method static \Illuminate\Routing\RouteRegistrar can(\UnitEnum|string $ability, array|string $models = []) |
14558 | 14584 | * @method static \Illuminate\Routing\RouteRegistrar controller(string $controller)
|
14559 | 14585 | * @method static \Illuminate\Routing\RouteRegistrar domain(\BackedEnum|string $value)
|
14560 | 14586 | * @method static \Illuminate\Routing\RouteRegistrar middleware(array|string|null $middleware)
|
@@ -24591,6 +24617,22 @@ public static function find($id, $columns = [])
|
24591 | 24617 | return $instance->find($id, $columns);
|
24592 | 24618 | }
|
24593 | 24619 |
|
| 24620 | + /** |
| 24621 | + * Find a sole model by its primary key. |
| 24622 | + * |
| 24623 | + * @param mixed $id |
| 24624 | + * @param array|string $columns |
| 24625 | + * @return TModel |
| 24626 | + * @throws \Illuminate\Database\Eloquent\ModelNotFoundException<TModel> |
| 24627 | + * @throws \Illuminate\Database\MultipleRecordsFoundException |
| 24628 | + * @static |
| 24629 | + */ |
| 24630 | + public static function findSole($id, $columns = []) |
| 24631 | + { |
| 24632 | + /** @var \Illuminate\Database\Eloquent\Builder $instance */ |
| 24633 | + return $instance->findSole($id, $columns); |
| 24634 | + } |
| 24635 | + |
24594 | 24636 | /**
|
24595 | 24637 | * Find multiple models by their primary keys.
|
24596 | 24638 | *
|
@@ -25642,7 +25684,7 @@ public static function whereHas($relation, $callback = null, $operator = '>=', $
|
25642 | 25684 | /**
|
25643 | 25685 | * Add a relationship count / exists condition to the query with where clauses.
|
25644 | 25686 | *
|
25645 |
| - * Also load the relationship with same condition. |
| 25687 | + * Also load the relationship with the same condition. |
25646 | 25688 | *
|
25647 | 25689 | * @param string $relation
|
25648 | 25690 | * @param (\Closure(\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|null $callback
|
@@ -25793,7 +25835,7 @@ public static function whereHasMorph($relation, $types, $callback = null, $opera
|
25793 | 25835 | *
|
25794 | 25836 | * @template TRelatedModel of \Illuminate\Database\Eloquent\Model
|
25795 | 25837 | * @param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation
|
25796 |
| - * @param string|array<int, array> $types |
| 25838 | + * @param string|array<int, string> $types |
25797 | 25839 | * @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback
|
25798 | 25840 | * @param string $operator
|
25799 | 25841 | * @param int $count
|
@@ -25855,6 +25897,22 @@ public static function whereRelation($relation, $column, $operator = null, $valu
|
25855 | 25897 | return $instance->whereRelation($relation, $column, $operator, $value);
|
25856 | 25898 | }
|
25857 | 25899 |
|
| 25900 | + /** |
| 25901 | + * Add a basic where clause to a relationship query and eager-load the relationship with the same conditions. |
| 25902 | + * |
| 25903 | + * @param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation |
| 25904 | + * @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column |
| 25905 | + * @param mixed $operator |
| 25906 | + * @param mixed $value |
| 25907 | + * @return \Illuminate\Database\Eloquent\Builder<static> |
| 25908 | + * @static |
| 25909 | + */ |
| 25910 | + public static function withWhereRelation($relation, $column, $operator = null, $value = null) |
| 25911 | + { |
| 25912 | + /** @var \Illuminate\Database\Eloquent\Builder $instance */ |
| 25913 | + return $instance->withWhereRelation($relation, $column, $operator, $value); |
| 25914 | + } |
| 25915 | + |
25858 | 25916 | /**
|
25859 | 25917 | * Add an "or where" clause to a relationship query.
|
25860 | 25918 | *
|
|
0 commit comments