RemoteManager
class RemoteManager (View source)
Properties
protected Application | $app | The application instance. |
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. |
|
Connection | makeConnection(string $name, array $config) Make a new connection instance. |
|
void | setOutput(Connection $connection) Set the output implementation on the connection. |
|
array | getAuth(array $config) Format the appropriate authentication array payload. |
|
array | getConfig(string $name) Get the configuration for a remote server. |
|
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.
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.
protected Connection makeConnection(string $name, array $config)
Make a new connection instance.
protected void setOutput(Connection $connection)
Set the output implementation on the connection.
protected array getAuth(array $config)
Format the appropriate authentication array payload.
protected array getConfig(string $name)
Get the configuration for a remote server.
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.2/Illuminate/Remote/RemoteManager.html