|
5 | 5 |
|
6 | 6 | /** |
7 | 7 | * A helper file for Laravel, to provide autocomplete information to your IDE |
8 | | - * Generated for Laravel 11.30.0. |
| 8 | + * Generated for Laravel 11.31.0. |
9 | 9 | * |
10 | 10 | * This file should not be included in your code, only analyzed by your IDE! |
11 | 11 | * |
|
876 | 876 | { |
877 | 877 | /** @var \Illuminate\Foundation\Application $instance */ |
878 | 878 | $instance->setDeferredServices($services); |
| 879 | + } |
| 880 | + /** |
| 881 | + * Determine if the given service is a deferred service. |
| 882 | + * |
| 883 | + * @param string $service |
| 884 | + * @return bool |
| 885 | + * @static |
| 886 | + */ public static function isDeferredService($service) |
| 887 | + { |
| 888 | + /** @var \Illuminate\Foundation\Application $instance */ |
| 889 | + return $instance->isDeferredService($service); |
879 | 890 | } |
880 | 891 | /** |
881 | 892 | * Add an array of services to the application's deferred services. |
|
889 | 900 | $instance->addDeferredServices($services); |
890 | 901 | } |
891 | 902 | /** |
892 | | - * Determine if the given service is a deferred service. |
| 903 | + * Remove an array of services from the application's deferred services. |
893 | 904 | * |
894 | | - * @param string $service |
895 | | - * @return bool |
| 905 | + * @param array $services |
| 906 | + * @return void |
896 | 907 | * @static |
897 | | - */ public static function isDeferredService($service) |
| 908 | + */ public static function removeDeferredServices($services) |
898 | 909 | { |
899 | 910 | /** @var \Illuminate\Foundation\Application $instance */ |
900 | | - return $instance->isDeferredService($service); |
| 911 | + $instance->removeDeferredServices($services); |
901 | 912 | } |
902 | 913 | /** |
903 | 914 | * Configure the real-time facade namespace. |
|
3645 | 3656 | { |
3646 | 3657 | /** @var \Illuminate\Cache\CacheManager $instance */ |
3647 | 3658 | return $instance->resolve($name); |
| 3659 | + } |
| 3660 | + /** |
| 3661 | + * Build a cache repository with the given configuration. |
| 3662 | + * |
| 3663 | + * @param array $config |
| 3664 | + * @return \Illuminate\Cache\Repository |
| 3665 | + * @static |
| 3666 | + */ public static function build($config) |
| 3667 | + { |
| 3668 | + /** @var \Illuminate\Cache\CacheManager $instance */ |
| 3669 | + return $instance->build($config); |
3648 | 3670 | } |
3649 | 3671 | /** |
3650 | 3672 | * Create a new cache repository with the given implementation. |
|
4874 | 4896 | { |
4875 | 4897 | /** @var \Illuminate\Log\Context\Repository $instance */ |
4876 | 4898 | return $instance->push($key, ...$values); |
| 4899 | + } |
| 4900 | + /** |
| 4901 | + * Pop the latest value from the key's stack. |
| 4902 | + * |
| 4903 | + * @param string $key |
| 4904 | + * @return mixed |
| 4905 | + * @throws \RuntimeException |
| 4906 | + * @static |
| 4907 | + */ public static function pop($key) |
| 4908 | + { |
| 4909 | + /** @var \Illuminate\Log\Context\Repository $instance */ |
| 4910 | + return $instance->pop($key); |
4877 | 4911 | } |
4878 | 4912 | /** |
4879 | 4913 | * Push the given hidden values onto the key's stack. |
|
4887 | 4921 | { |
4888 | 4922 | /** @var \Illuminate\Log\Context\Repository $instance */ |
4889 | 4923 | return $instance->pushHidden($key, ...$values); |
| 4924 | + } |
| 4925 | + /** |
| 4926 | + * Pop the latest hidden value from the key's stack. |
| 4927 | + * |
| 4928 | + * @param string $key |
| 4929 | + * @return mixed |
| 4930 | + * @throws \RuntimeException |
| 4931 | + * @static |
| 4932 | + */ public static function popHidden($key) |
| 4933 | + { |
| 4934 | + /** @var \Illuminate\Log\Context\Repository $instance */ |
| 4935 | + return $instance->popHidden($key); |
4890 | 4936 | } |
4891 | 4937 | /** |
4892 | 4938 | * Determine if the given value is in the given stack. |
|
5534 | 5580 | { |
5535 | 5581 | /** @var \Illuminate\Database\DatabaseManager $instance */ |
5536 | 5582 | return $instance->connection($name); |
| 5583 | + } |
| 5584 | + /** |
| 5585 | + * Build a database connection instance from the given configuration. |
| 5586 | + * |
| 5587 | + * @param array $config |
| 5588 | + * @return \Illuminate\Database\MySqlConnection |
| 5589 | + * @static |
| 5590 | + */ public static function build($config) |
| 5591 | + { |
| 5592 | + /** @var \Illuminate\Database\DatabaseManager $instance */ |
| 5593 | + return $instance->build($config); |
5537 | 5594 | } |
5538 | 5595 | /** |
5539 | 5596 | * Get a database connection instance from the given configuration. |
|
6613 | 6670 | return \Illuminate\Database\MySqlConnection::getResolver($driver); |
6614 | 6671 | } |
6615 | 6672 | /** |
6616 | | - * Execute a Closure within a transaction. |
| 6673 | + * |
6617 | 6674 | * |
6618 | | - * @param \Closure $callback |
| 6675 | + * @template TReturn of mixed |
| 6676 | + * |
| 6677 | + * Execute a Closure within a transaction. |
| 6678 | + * @param (\Closure(static): TReturn) $callback |
6619 | 6679 | * @param int $attempts |
6620 | | - * @return mixed |
| 6680 | + * @return \Illuminate\Database\TReturn |
6621 | 6681 | * @throws \Throwable |
6622 | 6682 | * @static |
6623 | 6683 | */ public static function transaction($callback, $attempts = 1) |
|
9123 | 9183 | * @method static \Illuminate\Mail\SentMessage|null html(string $html, mixed $callback) |
9124 | 9184 | * @method static \Illuminate\Mail\SentMessage|null plain(string $view, array $data, mixed $callback) |
9125 | 9185 | * @method static string render(string|array $view, array $data = []) |
9126 | | - * @method static mixed onQueue(string $queue, \Illuminate\Contracts\Mail\Mailable $view) |
| 9186 | + * @method static mixed onQueue(\BackedEnum|string|null $queue, \Illuminate\Contracts\Mail\Mailable $view) |
9127 | 9187 | * @method static mixed queueOn(string $queue, \Illuminate\Contracts\Mail\Mailable $view) |
9128 | 9188 | * @method static mixed laterOn(string $queue, \DateTimeInterface|\DateInterval|int $delay, \Illuminate\Contracts\Mail\Mailable $view) |
9129 | 9189 | * @method static \Symfony\Component\Mailer\Transport\TransportInterface getSymfonyTransport() |
|
9158 | 9218 | { |
9159 | 9219 | /** @var \Illuminate\Mail\MailManager $instance */ |
9160 | 9220 | return $instance->driver($driver); |
| 9221 | + } |
| 9222 | + /** |
| 9223 | + * Build a new mailer instance. |
| 9224 | + * |
| 9225 | + * @param array $config |
| 9226 | + * @return \Illuminate\Mail\Mailer |
| 9227 | + * @static |
| 9228 | + */ public static function build($config) |
| 9229 | + { |
| 9230 | + /** @var \Illuminate\Mail\MailManager $instance */ |
| 9231 | + return $instance->build($config); |
9161 | 9232 | } |
9162 | 9233 | /** |
9163 | 9234 | * Create a new transport instance. |
|
16941 | 17012 | { |
16942 | 17013 | /** @var \Illuminate\Routing\UrlGenerator $instance */ |
16943 | 17014 | $instance->forceScheme($scheme); |
| 17015 | + } |
| 17016 | + /** |
| 17017 | + * Force the use of the HTTPS scheme for all generated URLs. |
| 17018 | + * |
| 17019 | + * @param bool $force |
| 17020 | + * @return void |
| 17021 | + * @static |
| 17022 | + */ public static function forceHttps($force = true) |
| 17023 | + { |
| 17024 | + /** @var \Illuminate\Routing\UrlGenerator $instance */ |
| 17025 | + $instance->forceHttps($force); |
16944 | 17026 | } |
16945 | 17027 | /** |
16946 | 17028 | * Set the forced root URL. |
|
0 commit comments