Back to Dagger

Connection

docs/static/reference/php/Dagger/Connection.html

0.20.72.1 KB
Original Source

Connection

abstract class Connection

Properties

| protected Client|null | $client | | |

Methods

static Connection

get(string $workingDir = '', bool $loadWorkspaceModules = false)

No description

static EnvSessionConnection|null

newEnvSession()

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

Details

at line 15 static Connection get(string $workingDir = '', bool $loadWorkspaceModules = false)

No description

Parameters

| string | $workingDir | | | bool | $loadWorkspaceModules | |

Return Value

| Connection | |

at line 33 static EnvSessionConnection|null newEnvSession()

No description

Return Value

| EnvSessionConnection|null | |

at line 50 static ProcessSessionConnection newProcessSession(string $workDir, bool $loadWorkspaceModules, CliDownloader $cliDownloader) deprecated

deprecated

| dagger | modules will always have the environment variables set so we don't need to download a CLI Client |

No description

Parameters

| string | $workDir | | | bool | $loadWorkspaceModules | | | CliDownloader | $cliDownloader | |

Return Value

| ProcessSessionConnection | |

at line 58 static protected Client createGraphQlClient(int $port, string $token)

No description

Parameters

| int | $port | | | string | $token | |

Return Value

| Client | |

at line 73 abstract Client connect()

No description

Return Value

| Client | |

at line 75 abstract void close()

No description

Return Value

| void | |

Generated by Doctum, a API Documentation generator and fork of Sami.