BroadcastManager (Broadcasting)

BroadcastManager

class BroadcastManager implements Factory (View source)

Methods

void __construct( Application $app)

Create a new manager instance.

void connection( string $driver = null)

Get a driver instance.

mixed driver( string $name = null)

Get a driver instance.

string getDefaultDriver()

Get the default driver name.

void setDefaultDriver( string $name)

Set the default driver name.

$this extend( string $driver, Closure $callback)

Register a custom driver creator Closure.

mixed __call( string $method, array $parameters)

Dynamically call the default driver instance.

Details

void __construct( Application $app)

Create a new manager instance.

Parameters

Application $app

Return Value

void

void connection( string $driver = null)

Get a driver instance.

Parameters

string $driver

Return Value

void

mixed driver( string $name = null)

Get a driver instance.

Parameters

string $name

Return Value

mixed

string getDefaultDriver()

Get the default driver name.

Return Value

string

void setDefaultDriver( string $name)

Set the default driver name.

Parameters

string $name

Return Value

void

$this extend( string $driver, Closure $callback)

Register a custom driver creator Closure.

Parameters

string $driver
Closure $callback

Return Value

$this

mixed __call( string $method, array $parameters)

Dynamically call the default driver instance.

Parameters

string $method
array $parameters

Return Value

mixed

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Broadcasting/BroadcastManager.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部