|
4 | 4 |
|
5 | 5 | /** |
6 | 6 | * A helper file for Laravel, to provide autocomplete information to your IDE |
7 | | - * Generated for Laravel 10.31.0. |
| 7 | + * Generated for Laravel 10.33.0. |
8 | 8 | * |
9 | 9 | * This file should not be included in your code, only analyzed by your IDE! |
10 | 10 | * |
@@ -3518,6 +3518,18 @@ public static function assertDispatchedWithoutChain($command, $callback = null) |
3518 | 3518 | { |
3519 | 3519 | /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ |
3520 | 3520 | $instance->assertDispatchedWithoutChain($command, $callback); |
| 3521 | + } |
| 3522 | + /** |
| 3523 | + * Create a new assertion about a chained batch. |
| 3524 | + * |
| 3525 | + * @param \Closure $callback |
| 3526 | + * @return \Illuminate\Support\Testing\Fakes\ChainedBatchTruthTest |
| 3527 | + * @static |
| 3528 | + */ |
| 3529 | + public static function chainedBatch($callback) |
| 3530 | + { |
| 3531 | + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ |
| 3532 | + return $instance->chainedBatch($callback); |
3521 | 3533 | } |
3522 | 3534 | /** |
3523 | 3535 | * Assert if a batch was dispatched based on a truth-test callback. |
@@ -4345,6 +4357,18 @@ public static function restoreLock($name, $owner) |
4345 | 4357 | { |
4346 | 4358 | /** @var \Illuminate\Cache\DatabaseStore $instance */ |
4347 | 4359 | return $instance->restoreLock($name, $owner); |
| 4360 | + } |
| 4361 | + /** |
| 4362 | + * Remove an item from the cache if it is expired. |
| 4363 | + * |
| 4364 | + * @param string $key |
| 4365 | + * @return bool |
| 4366 | + * @static |
| 4367 | + */ |
| 4368 | + public static function forgetIfExpired($key) |
| 4369 | + { |
| 4370 | + /** @var \Illuminate\Cache\DatabaseStore $instance */ |
| 4371 | + return $instance->forgetIfExpired($key); |
4348 | 4372 | } |
4349 | 4373 | /** |
4350 | 4374 | * Remove all items from the cache. |
@@ -8154,6 +8178,17 @@ public static function getDispatcher() |
8154 | 8178 | { |
8155 | 8179 | /** @var \Illuminate\Http\Client\Factory $instance */ |
8156 | 8180 | return $instance->getDispatcher(); |
| 8181 | + } |
| 8182 | + /** |
| 8183 | + * Get the array of global middleware. |
| 8184 | + * |
| 8185 | + * @return array |
| 8186 | + * @static |
| 8187 | + */ |
| 8188 | + public static function getGlobalMiddleware() |
| 8189 | + { |
| 8190 | + /** @var \Illuminate\Http\Client\Factory $instance */ |
| 8191 | + return $instance->getGlobalMiddleware(); |
8157 | 8192 | } |
8158 | 8193 | /** |
8159 | 8194 | * Register a custom macro. |
@@ -8307,6 +8342,18 @@ public static function load($namespace, $group, $locale) |
8307 | 8342 | { |
8308 | 8343 | /** @var \Illuminate\Translation\Translator $instance */ |
8309 | 8344 | $instance->load($namespace, $group, $locale); |
| 8345 | + } |
| 8346 | + /** |
| 8347 | + * Register a callback that is responsible for handling missing translation keys. |
| 8348 | + * |
| 8349 | + * @param callable|null $callback |
| 8350 | + * @return static |
| 8351 | + * @static |
| 8352 | + */ |
| 8353 | + public static function handleMissingKeysUsing($callback) |
| 8354 | + { |
| 8355 | + /** @var \Illuminate\Translation\Translator $instance */ |
| 8356 | + return $instance->handleMissingKeysUsing($callback); |
8310 | 8357 | } |
8311 | 8358 | /** |
8312 | 8359 | * Add a new namespace to the loader. |
|
0 commit comments