PublishingStubs
class PublishingStubs (View source)
Traits
Properties
| array | $stubs | The stubs being published. |
Methods
Dispatch the event with the given arguments if the given truth test passes.
Dispatch the event with the given arguments unless the given truth test passes.
Create a new event instance.
Add a new stub to be published.
Details
static mixed
dispatch()
Dispatch the event with the given arguments.
static mixed
dispatchIf(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments if the given truth test passes.
static mixed
dispatchUnless(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments unless the given truth test passes.
static PendingBroadcast
broadcast()
Broadcast the event with the given arguments.
void
__construct(array $stubs)
Create a new event instance.
$this
add(string $path, string $name)
Add a new stub to be published.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.