<?phpnamespaceIlluminate\Support\Facades;useIlluminate\Support\Testing\Fakes\BusFake;useIlluminate\Contracts\Bus\DispatcherasBusDispatcherContract;/** * @see \Illuminate\Contracts\Bus\Dispatcher */classBusextendsFacade{/** * Replace the bound instance with a fake. * * @return void */publicstaticfunctionfake(){static::swap(newBusFake);}/** * Get the registered name of the component. * * @return string */protectedstaticfunctiongetFacadeAccessor(){returnBusDispatcherContract::class;}}