W3cubDocs

/Laravel 4.2

RemoteManager

class RemoteManager (View source)

Methods

void __construct(Application $app)

Create a new remote manager instance.

ConnectionInterface into(string|array|mixed $name)

Get a remote connection instance.

ConnectionInterface connection(string|array $name = null)

Get a remote connection instance.

ConnectionInterface group(string $name)

Get a connection group instance by name.

MultiConnection multiple(array $names)

Resolve a multiple connection instance.

Connection resolve(string $name)

Resolve a remote connection instance.

string getDefaultConnection()

Get the default connection name.

void setDefaultConnection(string $name)

Set the default connection name.

mixed __call(string $method, array $parameters)

Dynamically pass methods to the default connection.

Details

void __construct(Application $app)

Create a new remote manager instance.

Parameters

Application $app

Return Value

void

ConnectionInterface into(string|array|mixed $name)

Get a remote connection instance.

Parameters

string|array|mixed $name

Return Value

ConnectionInterface

ConnectionInterface connection(string|array $name = null)

Get a remote connection instance.

Parameters

string|array $name

Return Value

ConnectionInterface

ConnectionInterface group(string $name)

Get a connection group instance by name.

Parameters

string $name

Return Value

ConnectionInterface

MultiConnection multiple(array $names)

Resolve a multiple connection instance.

Parameters

array $names

Return Value

MultiConnection

Connection resolve(string $name)

Resolve a remote connection instance.

Parameters

string $name

Return Value

Connection

string getDefaultConnection()

Get the default connection name.

Return Value

string

void setDefaultConnection(string $name)

Set the default connection name.

Parameters

string $name

Return Value

void

mixed __call(string $method, array $parameters)

Dynamically pass methods to the default connection.

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/4.2/Illuminate/Remote/RemoteManager.html