PublishingStubs
class PublishingStubs
Traits
Properties
| array | $stubs | The stubs being published. |
Methods
static mixed
dispatch(mixed ...$arguments)
Dispatch the event with the given arguments.
from
Dispatchable
static mixed
dispatchIf(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments if the given truth test passes.
from
Dispatchable
static mixed
dispatchUnless(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments unless the given truth test passes.
from
Dispatchable
static PendingBroadcast
broadcast(mixed ...$arguments)
Broadcast the event with the given arguments.
from
Dispatchable
__construct(array $stubs)
Create a new event instance.
add(string $path, string $name)
Add a new stub to be published.
Details
in
Dispatchable at line 14
static mixed
dispatch(mixed ...$arguments)
Dispatch the event with the given arguments.
in
Dispatchable at line 22
static mixed
dispatchIf(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments if the given truth test passes.
in
Dispatchable at line 30
static mixed
dispatchUnless(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments unless the given truth test passes.
in
Dispatchable at line 38
static PendingBroadcast
broadcast(mixed ...$arguments)
Broadcast the event with the given arguments.
at line 19
__construct(array $stubs)
Create a new event instance.
at line 27
PublishingStubs
add(string $path, string $name)
Add a new stub to be published.