|
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 | *
|
@@ -11986,6 +11986,7 @@ public static function setDefaultDriver($name)
|
11986 | 11986 | * @method static \Illuminate\Process\PendingProcess options(array $options)
|
11987 | 11987 | * @method static \Illuminate\Contracts\Process\ProcessResult run(array|string|null $command = null, callable|null $output = null)
|
11988 | 11988 | * @method static \Illuminate\Process\InvokedProcess start(array|string|null $command = null, callable|null $output = null)
|
| 11989 | + * @method static bool supportsTty() |
11989 | 11990 | * @method static \Illuminate\Process\PendingProcess withFakeHandlers(array $fakeHandlers)
|
11990 | 11991 | * @method static \Illuminate\Process\PendingProcess|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
11991 | 11992 | * @method static \Illuminate\Process\PendingProcess|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
@@ -12648,6 +12649,19 @@ public static function pushed($job, $callback = null)
|
12648 | 12649 | return $instance->pushed($job, $callback);
|
12649 | 12650 | }
|
12650 | 12651 |
|
| 12652 | + /** |
| 12653 | + * Get all of the raw pushes matching a truth-test callback. |
| 12654 | + * |
| 12655 | + * @param null|\Closure(string, ?string, array): bool $callback |
| 12656 | + * @return \Illuminate\Support\Collection<int, RawPushType> |
| 12657 | + * @static |
| 12658 | + */ |
| 12659 | + public static function pushedRaw($callback = null) |
| 12660 | + { |
| 12661 | + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ |
| 12662 | + return $instance->pushedRaw($callback); |
| 12663 | + } |
| 12664 | + |
12651 | 12665 | /**
|
12652 | 12666 | * Determine if there are any stored jobs for a given class.
|
12653 | 12667 | *
|
@@ -12804,6 +12818,18 @@ public static function pushedJobs()
|
12804 | 12818 | return $instance->pushedJobs();
|
12805 | 12819 | }
|
12806 | 12820 |
|
| 12821 | + /** |
| 12822 | + * Get the payloads that were pushed raw. |
| 12823 | + * |
| 12824 | + * @return list<RawPushType> |
| 12825 | + * @static |
| 12826 | + */ |
| 12827 | + public static function rawPushes() |
| 12828 | + { |
| 12829 | + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ |
| 12830 | + return $instance->rawPushes(); |
| 12831 | + } |
| 12832 | + |
12807 | 12833 | /**
|
12808 | 12834 | * Specify if jobs should be serialized and restored when being "pushed" to the queue.
|
12809 | 12835 | *
|
@@ -16329,6 +16355,7 @@ public static function flushMacros()
|
16329 | 16355 | * @method static \Illuminate\Routing\RouteRegistrar whereUuid(array|string $parameters)
|
16330 | 16356 | * @method static \Illuminate\Routing\RouteRegistrar whereIn(array|string $parameters, array $values)
|
16331 | 16357 | * @method static \Illuminate\Routing\RouteRegistrar as(string $value)
|
| 16358 | + * @method static \Illuminate\Routing\RouteRegistrar can(\UnitEnum|string $ability, array|string $models = []) |
16332 | 16359 | * @method static \Illuminate\Routing\RouteRegistrar controller(string $controller)
|
16333 | 16360 | * @method static \Illuminate\Routing\RouteRegistrar domain(\BackedEnum|string $value)
|
16334 | 16361 | * @method static \Illuminate\Routing\RouteRegistrar middleware(array|string|null $middleware)
|
@@ -28284,6 +28311,22 @@ public static function find($id, $columns = [])
|
28284 | 28311 | return $instance->find($id, $columns);
|
28285 | 28312 | }
|
28286 | 28313 |
|
| 28314 | + /** |
| 28315 | + * Find a sole model by its primary key. |
| 28316 | + * |
| 28317 | + * @param mixed $id |
| 28318 | + * @param array|string $columns |
| 28319 | + * @return TModel |
| 28320 | + * @throws \Illuminate\Database\Eloquent\ModelNotFoundException<TModel> |
| 28321 | + * @throws \Illuminate\Database\MultipleRecordsFoundException |
| 28322 | + * @static |
| 28323 | + */ |
| 28324 | + public static function findSole($id, $columns = []) |
| 28325 | + { |
| 28326 | + /** @var \Illuminate\Database\Eloquent\Builder $instance */ |
| 28327 | + return $instance->findSole($id, $columns); |
| 28328 | + } |
| 28329 | + |
28287 | 28330 | /**
|
28288 | 28331 | * Find multiple models by their primary keys.
|
28289 | 28332 | *
|
@@ -29335,7 +29378,7 @@ public static function whereHas($relation, $callback = null, $operator = '>=', $
|
29335 | 29378 | /**
|
29336 | 29379 | * Add a relationship count / exists condition to the query with where clauses.
|
29337 | 29380 | *
|
29338 |
| - * Also load the relationship with same condition. |
| 29381 | + * Also load the relationship with the same condition. |
29339 | 29382 | *
|
29340 | 29383 | * @param string $relation
|
29341 | 29384 | * @param (\Closure(\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|null $callback
|
@@ -29486,7 +29529,7 @@ public static function whereHasMorph($relation, $types, $callback = null, $opera
|
29486 | 29529 | *
|
29487 | 29530 | * @template TRelatedModel of \Illuminate\Database\Eloquent\Model
|
29488 | 29531 | * @param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation
|
29489 |
| - * @param string|array<int, array> $types |
| 29532 | + * @param string|array<int, string> $types |
29490 | 29533 | * @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback
|
29491 | 29534 | * @param string $operator
|
29492 | 29535 | * @param int $count
|
@@ -29548,6 +29591,22 @@ public static function whereRelation($relation, $column, $operator = null, $valu
|
29548 | 29591 | return $instance->whereRelation($relation, $column, $operator, $value);
|
29549 | 29592 | }
|
29550 | 29593 |
|
| 29594 | + /** |
| 29595 | + * Add a basic where clause to a relationship query and eager-load the relationship with the same conditions. |
| 29596 | + * |
| 29597 | + * @param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation |
| 29598 | + * @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column |
| 29599 | + * @param mixed $operator |
| 29600 | + * @param mixed $value |
| 29601 | + * @return \Illuminate\Database\Eloquent\Builder<static> |
| 29602 | + * @static |
| 29603 | + */ |
| 29604 | + public static function withWhereRelation($relation, $column, $operator = null, $value = null) |
| 29605 | + { |
| 29606 | + /** @var \Illuminate\Database\Eloquent\Builder $instance */ |
| 29607 | + return $instance->withWhereRelation($relation, $column, $operator, $value); |
| 29608 | + } |
| 29609 | + |
29551 | 29610 | /**
|
29552 | 29611 | * Add an "or where" clause to a relationship query.
|
29553 | 29612 | *
|
|
0 commit comments