docs/static/reference/php/Dagger/Connection.html
abstract class Connection
| protected Client|null | $client | | |
static Connection
get(string $workingDir = '', bool $loadWorkspaceModules = false)
No description
static EnvSessionConnection|null
No description
static ProcessSessionConnection
newProcessSession(string $workDir, bool $loadWorkspaceModules, CliDownloader $cliDownloader) deprecated
No description
static Client
createGraphQlClient(int $port, string $token)
No description
Client
connect()
No description
void
close()
No description
static Connection get(string $workingDir = '', bool $loadWorkspaceModules = false)No description
| string | $workingDir | | | bool | $loadWorkspaceModules | |
| Connection | |
static EnvSessionConnection|null newEnvSession()No description
| EnvSessionConnection|null | |
static ProcessSessionConnection newProcessSession(string $workDir, bool $loadWorkspaceModules, CliDownloader $cliDownloader) deprecateddeprecated
| dagger | modules will always have the environment variables set so we don't need to download a CLI Client |
No description
| string | $workDir | | | bool | $loadWorkspaceModules | | | CliDownloader | $cliDownloader | |
| ProcessSessionConnection | |
static protected Client createGraphQlClient(int $port, string $token)No description
| int | $port | | | string | $token | |
| Client | |
abstract Client connect()No description
| Client | |
abstract void close()No description
| void | |
Generated by Doctum, a API Documentation generator and fork of Sami.