Actual-time Apps With Laravel 5.1 And Event Broadcasting — SitePoint
To do broadcasting occasions, we will create an everyday Laravel occasion, but we’ll implement an interface called ShouldBroadcast. If Laravel sees that an event class implements ShouldBroadcast it knows that it is a broadcasting event. This interface requires us to define a technique inside our event class called broadcastOn. It should return an array of …
Actual-time Apps With Laravel 5.1 And Event Broadcasting — SitePoint Читать далее »