PATH:
home
/
lab2454c
/
aficb.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Support
/
Facades
<?php namespace Illuminate\Support\Facades; use Illuminate\Contracts\Bus\Dispatcher as BusDispatcherContract; use Illuminate\Foundation\Bus\PendingChain; use Illuminate\Support\Testing\Fakes\BusFake; /** * @method static \Illuminate\Bus\Batch|null findBatch(string $batchId) * @method static \Illuminate\Bus\PendingBatch batch(array|mixed $jobs) * @method static \Illuminate\Contracts\Bus\Dispatcher map(array $map) * @method static \Illuminate\Contracts\Bus\Dispatcher pipeThrough(array $pipes) * @method static \Illuminate\Foundation\Bus\PendingChain chain(array $jobs) * @method static bool hasCommandHandler($command) * @method static bool|mixed getCommandHandler($command) * @method static mixed dispatch($command) * @method static mixed dispatchNow($command, $handler = null) * @method static mixed dispatchSync($command, $handler = null) * @method static void assertDispatched(string|\Closure $command, callable|int $callback = null) * @method static void assertDispatchedTimes(string $command, int $times = 1) * @method static void assertNotDispatched(string|\Closure $command, callable|int $callback = null) * @method static void assertDispatchedAfterResponse(string|\Closure $command, callable|int $callback = null) * @method static void assertDispatchedAfterResponseTimes(string $command, int $times = 1) * @method static void assertNotDispatchedAfterResponse(string|\Closure $command, callable $callback = null) * @method static void assertBatched(callable $callback) * @method static void assertChained(array $expectedChain) * * @see \Illuminate\Contracts\Bus\Dispatcher */ class Bus extends Facade { /** * Replace the bound instance with a fake. * * @param array|string $jobsToFake * @return \Illuminate\Support\Testing\Fakes\BusFake */ public static function fake($jobsToFake = []) { static::swap($fake = new BusFake(static::getFacadeRoot(), $jobsToFake)); return $fake; } /** * Dispatch the given chain of jobs. * * @param array|mixed $jobs * @return \Illuminate\Foundation\Bus\PendingDispatch */ public static function dispatchChain($jobs) { $jobs = is_array($jobs) ? $jobs : func_get_args(); return (new PendingChain(array_shift($jobs), $jobs)) ->dispatch(); } /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { return BusDispatcherContract::class; } }
[-] DB.php
[edit]
[-] Mail.php
[edit]
[-] RateLimiter.php
[edit]
[-] Artisan.php
[edit]
[-] Lang.php
[edit]
[-] Auth.php
[edit]
[-] Facade.php
[edit]
[-] Blade.php
[edit]
[-] Session.php
[edit]
[-] File.php
[edit]
[-] Schema.php
[edit]
[-] Cookie.php
[edit]
[+]
..
[-] Date.php
[edit]
[-] View.php
[edit]
[-] Config.php
[edit]
[-] Route.php
[edit]
[-] Http.php
[edit]
[-] Request.php
[edit]
[-] Redirect.php
[edit]
[-] Crypt.php
[edit]
[-] Log.php
[edit]
[-] Validator.php
[edit]
[-] Gate.php
[edit]
[-] Event.php
[edit]
[-] Queue.php
[edit]
[-] Storage.php
[edit]
[-] App.php
[edit]
[-] Bus.php
[edit]
[-] Notification.php
[edit]
[-] Broadcast.php
[edit]
[-] ParallelTesting.php
[edit]
[-] URL.php
[edit]
[-] Password.php
[edit]
[-] Hash.php
[edit]
[-] Redis.php
[edit]
[-] Cache.php
[edit]
[-] Response.php
[edit]