PublisherServiceProvider::package()

void package(string $package, string $namespace = null, string $path = null) Register the package's component namespaces. Parameters string $package string $namespace string $path Return Value void

PublisherServiceProvider::provides()

array provides() Get the services provided by the provider. Return Value array

PublisherServiceProvider::register()

void register() Register the service provider. Return Value void

PublisherServiceProvider::when()

array when() Get the events that trigger this service provider to register. Return Value array

PublisherServiceProvider::__construct()

void __construct(Application $app) Create a new service provider instance. Parameters Application $app Return Value void

PusherBroadcaster

PusherBroadcaster class PusherBroadcaster extends Broadcaster (View source) Methods $this channel(string $channel, callable $callback) Register a channel authenticator. from Broadcaster void __construct(Pusher $pusher) Create a new broadcaster instance. mixed auth(Request $request) Authenticate the incoming request for a given channel. mixed validAuthenticationResponse(Request $request, mixed $result) Return the valid authentication response. void broadcast(array $chann

PusherBroadcaster::auth()

mixed auth(Request $request) Authenticate the incoming request for a given channel. Parameters Request $request Return Value mixed

PusherBroadcaster::broadcast()

void broadcast(array $channels, string $event, array $payload = array()) Broadcast the given event. Parameters array $channels string $event array $payload Return Value void

PusherBroadcaster::channel()

$this channel(string $channel, callable $callback) Register a channel authenticator. Parameters string $channel callable $callback Return Value $this

PusherBroadcaster::getPusher()

Pusher getPusher() Get the Pusher SDK instance. Return Value Pusher