BroadcastEvent
class BroadcastEvent (View source)
Properties
protected Broadcaster | $broadcaster | The broadcaster implementation. |
Methods
void | __construct(Broadcaster $broadcaster) Create a new job handler instance. | |
void | fire(Job $job, array $data) Handle the queued job. | |
array | getPayloadFromEvent(mixed $event) Get the payload for the given event. | |
mixed | formatProperty(mixed $value) Format the given value for a property. |
Details
void __construct(Broadcaster $broadcaster)
Create a new job handler instance.
void fire(Job $job, array $data)
Handle the queued job.
protected array getPayloadFromEvent(mixed $event)
Get the payload for the given event.
protected mixed formatProperty(mixed $value)
Format the given value for a property.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Broadcasting/BroadcastEvent.html