class Broadcaster implements Broadcaster (View source)
protected array | $channels | The registered channel authenticators. | |
protected BindingRegistrar | $bindingRegistrar | The binding registrar instance. |
$this | channel(string $channel, callable $callback) Register a channel authenticator. | |
mixed | verifyUserCanAccessChannel(Request $request, string $channel) Authenticate the incoming request for a given channel. | |
array | extractAuthParameters(string $pattern, string $channel, callable $callback) Extract the parameters from the given pattern and channel. | |
array | extractChannelKeys(string $pattern, string $channel) Extract the channel keys from the incoming channel name. | |
mixed | resolveBinding(string $key, string $value, array $callbackParameters) Resolve the given parameter binding. | |
mixed | resolveExplicitBindingIfPossible(string $key, mixed $value) Resolve an explicit parameter binding if applicable. | |
mixed | resolveImplicitBindingIfPossible(string $key, mixed $value, array $callbackParameters) Resolve an implicit parameter binding if applicable. | |
bool | isImplicitlyBindable(string $key, ReflectionParameter $parameter) Determine if a given key and parameter is implicitly bindable. | |
array | formatChannels(array $channels) Format the channel array into an array of strings. | |
BindingRegistrar | binder() Get the model binding registrar instance. |
Register a channel authenticator.
Authenticate the incoming request for a given channel.
Extract the parameters from the given pattern and channel.
Extract the channel keys from the incoming channel name.
Resolve the given parameter binding.
Resolve an explicit parameter binding if applicable.
Resolve an implicit parameter binding if applicable.
Determine if a given key and parameter is implicitly bindable.
Format the channel array into an array of strings.
Get the model binding registrar instance.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.5/Illuminate/Broadcasting/Broadcasters/Broadcaster.html