Broadcaster

Broadcaster class Broadcaster implements Broadcaster (View source) Methods $this channel(string $channel, callable $callback) Register a channel authenticator.

BroadcastController::__call()

mixed __call(string $method, array $parameters) Handle calls to missing methods on the controller. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

BroadcastController::missingMethod()

mixed missingMethod(array $parameters = array()) Handle calls to missing methods on the controller. Parameters array $parameters Return Value mixed Exceptions NotFoundHttpException

BroadcastController::middleware()

ControllerMiddlewareOptions middleware(array|string|Closure $middleware, array $options = array()) Register middleware on the controller. Parameters array|string|Closure $middleware array $options Return Value ControllerMiddlewareOptions

BroadcastController::getMiddleware()

array getMiddleware() Get the middleware assigned to the controller. Return Value array

BroadcastController::callAction()

Response callAction(string $method, array $parameters) Execute an action on the controller. Parameters string $method array $parameters Return Value Response

BroadcastController::authenticate()

Response authenticate(Request $request) Authenticate the request for channel access. Parameters Request $request Return Value Response

BroadcastController

BroadcastController class BroadcastController extends Controller (View source) Methods ControllerMiddlewareOptions middleware(array|string|Closure $middleware, array $options = array()) Register middleware on the controller. from Controller array getMiddleware() Get the middleware assigned to the controller. from Controller Response callAction(string $method, array $parameters) Execute an action on the controller. from Controller mixed missingMethod(array $parameters = array()

BroadcastChannel::__construct()

void __construct(Dispatcher $events) Create a new database channel. Parameters Dispatcher $events Return Value void

BroadcastChannel::send()

array|null send(mixed $notifiable, Notification $notification) Send the given notification. Parameters mixed $notifiable Notification $notification Return Value array|null