D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
tattooscyy
/
api
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Support
/
Facades
/
Filename :
Bus.php
back
Copy
<?php namespace Illuminate\Support\Facades; use Illuminate\Contracts\Bus\Dispatcher as BusDispatcherContract; use Illuminate\Support\Testing\Fakes\BusFake; /** * @method static mixed dispatch($command) * @method static mixed dispatchNow($command, $handler = null) * @method static bool hasCommandHandler($command) * @method static bool|mixed getCommandHandler($command) * @method static \Illuminate\Contracts\Bus\Dispatcher pipeThrough(array $pipes) * @method static \Illuminate\Contracts\Bus\Dispatcher map(array $map) * * @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; } /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { return BusDispatcherContract::class; } }