Свойство | Тип | Описание | |
---|---|---|---|
$app | Illuminate\Contracts\Container\Container | The application instance. |
Метод | Описание | |
---|---|---|
__call ( string $method, array $parameters ) : mixed | Dynamically pass methods to the default connection. | |
__construct ( Illuminate\Contracts\Container\Container $app ) | Create a new remote manager instance. | |
connect ( array $config ) : Collective\Remote\Connection | Make a new connection instance based on passed params. | |
connection ( string | array $name = null ) : Collective\Remote\ConnectionInterface | Get a remote connection instance. | |
getDefaultConnection ( ) : string | Get the default connection name. | |
group ( string $name ) : Collective\Remote\ConnectionInterface | Get a connection group instance by name. | |
into ( string | array | mixed $name ) : Collective\Remote\ConnectionInterface | Get a remote connection instance. | |
multiple ( array $names ) : Collective\Remote\MultiConnection | Resolve a multiple connection instance. | |
resolve ( string $name ) : Collective\Remote\Connection | Resolve a remote connection instance. | |
setDefaultConnection ( string $name ) : void | Set the default connection name. |
Метод | Описание | |
---|---|---|
getAuth ( array $config ) : array | Format the appropriate authentication array payload. | |
getConfig ( string $name ) : array | Get the configuration for a remote server. | |
makeConnection ( string $name, array $config ) : Collective\Remote\Connection | Make a new connection instance. | |
setOutput ( Collective\Remote\Connection $connection ) : void | Set the output implementation on the connection. |
public __construct ( Illuminate\Contracts\Container\Container $app ) | ||
$app | Illuminate\Contracts\Container\Container |
public connection ( string | array $name = null ) : Collective\Remote\ConnectionInterface | ||
$name | string | array | |
Результат | Collective\Remote\ConnectionInterface |
public getDefaultConnection ( ) : string | ||
Результат | string |
protected makeConnection ( string $name, array $config ) : Collective\Remote\Connection | ||
$name | string | |
$config | array | |
Результат | Collective\Remote\Connection |
public setDefaultConnection ( string $name ) : void | ||
$name | string | |
Результат | void |