class PublishingStubs (View source)
| Dispatchable |
| array | $stubs | The stubs being published. |
| static mixed | dispatch()
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()
Broadcast the event with the given arguments. | from Dispatchable |
| void | __construct(array $stubs)
Create a new event instance. | |
| $this | add(string $path, string $name)
Add a new stub to be published. |
Dispatch the event with the given arguments.
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.
Broadcast the event with the given arguments.
Create a new event instance.
Add a new stub to be published.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Foundation/Events/PublishingStubs.html