RedisBroadcaster::channel()

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

RedisBroadcaster::broadcast()

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

RedisBroadcaster::auth()

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

RedisBroadcaster

RedisBroadcaster class RedisBroadcaster extends Broadcaster (View source) Methods $this channel(string $channel, callable $callback) Register a channel authenticator. from Broadcaster void __construct(Database $redis, string $connection = null) 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. voi

Redis::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed

Redis::swap()

static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void

Redis::shouldReceive()

static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation

Redis::setFacadeApplication()

static void setFacadeApplication(Application $app) Set the application instance. Parameters Application $app Return Value void

Redis::getFacadeRoot()

static mixed getFacadeRoot() Get the root object behind the facade. Return Value mixed

Redis::getFacadeApplication()

static Application getFacadeApplication() Get the application instance behind the facade. Return Value Application