RemoteManager
class RemoteManager (View source)
Properties
protected Application | $app | The application instance. |
Methods
Get a remote connection instance.
Get a remote connection instance.
Get a connection group instance by name.
Resolve a multiple connection instance.
Resolve a remote connection instance.
Make a new connection instance.
Format the appropriate authentication array payload.
Get the configuration for a remote server.
Get the default connection name.
Set the default connection name.
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.