class
Illuminate
/
Support
/
Facades
/
Event
Event
Extends
See
- \Illuminate\Events\Dispatcher
- \Illuminate\Support\Testing\Fakes\EventFake
Methods
public
static
fake ( $eventsToFake ) : EventFake
Replace the bound instance with a fake.
Parameters
- $eventsToFake array|string
public
static
fakeExcept ( $eventsToAllow ) : EventFake
Replace the bound instance with a fake that fakes all events except the given events.
Parameters
- $eventsToAllow string[]|string
public
static
fakeFor ( callable $callable , array $eventsToFake ) : mixed
Replace the bound instance with a fake during the given callable's execution.
Parameters
- $callable callable
- $eventsToFake array
public
static
fakeExceptFor ( callable $callable , array $eventsToAllow ) : mixed
Replace the bound instance with a fake during the given callable's execution.
Parameters
- $callable callable
- $eventsToAllow array
protected
static
getFacadeAccessor ( ) : string
Get the registered name of the component.