class RemoteManager (View source)

Methods

void
__construct( Application $app)

Create a new remote manager instance.

into( string|array|mixed $name)

Get a remote connection instance.

connection( string|array $name = null)

Get a remote connection instance.

group( string $name)

Get a connection group instance by name.

multiple( array $names)

Resolve a multiple connection instance.

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

at line line 21
void __construct( Application $app)

Create a new remote manager instance.

Parameters

Application $app

Return Value

void

at line line 32
ConnectionInterface into( string|array|mixed $name)

Get a remote connection instance.

Parameters

string|array|mixed $name

Return Value

ConnectionInterface

at line line 48
ConnectionInterface connection( string|array $name = null)

Get a remote connection instance.

Parameters

string|array $name

Return Value

ConnectionInterface

at line line 61
ConnectionInterface group( string $name)

Get a connection group instance by name.

Parameters

string $name

Return Value

ConnectionInterface

at line line 72
MultiConnection multiple( array $names)

Resolve a multiple connection instance.

Parameters

array $names

Return Value

MultiConnection

at line line 83
Connection resolve( string $name)

Resolve a remote connection instance.

Parameters

string $name

Return Value

Connection

at line line 171
string getDefaultConnection()

Get the default connection name.

Return Value

string

at line line 182
void setDefaultConnection( string $name)

Set the default connection name.

Parameters

string $name

Return Value

void

at line line 194
mixed __call( string $method, array $parameters)

Dynamically pass methods to the default connection.

Parameters

string $method
array $parameters

Return Value

mixed