Method |
Description |
|
disconnect ( ) |
Flush active connection(s). |
|
getAvailableConnections ( ) : string[][] | string[] |
Get the available connections. |
|
getConnection ( ) : string |
Get the active connection. |
|
getConnectionCredentials ( string | null $connection = null ) : string[][] |
Get the credentials for a particular connection. |
|
getConnections ( ) : string[] |
Get the connection in use. |
|
getHandle ( string | null $connection = null, integer | null $server = null, string | null $stage = null ) : string |
Build the current connection's handle. |
|
getRepositoryBranch ( ) : string |
Get the repository branch to use. |
|
getRepositoryCredentials ( ) : array |
Get the credentials for the repository. |
|
getRepositoryEndpoint ( ) : string |
Get the URL to the Git repository. |
|
getServer ( ) : integer |
|
|
getServerCredentials ( string | null $connection = null, integer | null $server = null ) : mixed |
Get thecredentials for as server. |
|
getStage ( ) : string |
Get the current stage. |
|
getStages ( ) : array |
Get the various stages provided by the User. |
|
isMultiserver ( string $connection ) : boolean |
Check if a connection is multiserver or not. |
|
isValidConnection ( string $connection ) : boolean |
Check if a connection has credentials related to it. |
|
needsCredentials ( ) : boolean |
Whether the repository used is using SSH or HTTPS. |
|
setConnection ( string $connection, integer $server ) |
Set the current connection. |
|
setConnections ( string | string[] $connections ) |
Set the active connections. |
|
setStage ( string | null $stage ) |
Set the stage Tasks will execute on. |
|
syncConnectionCredentials ( string | null $connection = null, array $credentials = [], integer $server ) |
Sync Rocketeer's credentials with Laravel's. |
|