Env
class Env extends AbstractObject implements IdAble
Properties
| $lastQuery | from AbstractObject |
Methods
No description
Return the check with the given name from the installed modules. Must match exactly one check.
Return all checks defined by the installed modules
A unique identifier for this Env.
Returns all input bindings provided to the environment
Returns all declared output bindings for the environment
Create or update a binding of type Address in the environment
Declare a desired Address output to be assigned in the environment
Create or update a binding of type CacheVolume in the environment
Declare a desired CacheVolume output to be assigned in the environment
Create or update a binding of type Changeset in the environment
Declare a desired Changeset output to be assigned in the environment
Create or update a binding of type CheckGroup in the environment
Declare a desired CheckGroup output to be assigned in the environment
Create or update a binding of type Check in the environment
Declare a desired Check output to be assigned in the environment
Create or update a binding of type Cloud in the environment
Declare a desired Cloud output to be assigned in the environment
Create or update a binding of type Container in the environment
Declare a desired Container output to be assigned in the environment
Installs the current module into the environment, exposing its functions to the model
Create or update a binding of type DiffStat in the environment
Declare a desired DiffStat output to be assigned in the environment
Create or update a binding of type Directory in the environment
Declare a desired Directory output to be assigned in the environment
Create or update a binding of type EnvFile in the environment
Declare a desired EnvFile output to be assigned in the environment
Create or update a binding of type Env in the environment
Declare a desired Env output to be assigned in the environment
Create or update a binding of type File in the environment
Declare a desired File output to be assigned in the environment
Create or update a binding of type GeneratorGroup in the environment
Declare a desired GeneratorGroup output to be assigned in the environment
Create or update a binding of type Generator in the environment
Declare a desired Generator output to be assigned in the environment
Create or update a binding of type GitRef in the environment
Declare a desired GitRef output to be assigned in the environment
Create or update a binding of type GitRepository in the environment
Declare a desired GitRepository output to be assigned in the environment
Create or update a binding of type HTTPState in the environment
Declare a desired HTTPState output to be assigned in the environment
Create or update a binding of type JSONValue in the environment
Declare a desired JSONValue output to be assigned in the environment
Sets the main module for this environment (the project being worked on)
Installs a module into the environment, exposing its functions to the model
Create or update a binding of type ModuleConfigClient in the environment
Declare a desired ModuleConfigClient output to be assigned in the environment
Create or update a binding of type Module in the environment
Declare a desired Module output to be assigned in the environment
Create or update a binding of type ModuleSource in the environment
Declare a desired ModuleSource output to be assigned in the environment
Create or update a binding of type PhpSdk in the environment
Declare a desired PhpSdk output to be assigned in the environment
Create or update a binding of type SearchResult in the environment
Declare a desired SearchResult output to be assigned in the environment
Create or update a binding of type SearchSubmatch in the environment
Declare a desired SearchSubmatch output to be assigned in the environment
Create or update a binding of type Secret in the environment
Declare a desired Secret output to be assigned in the environment
Create or update a binding of type Service in the environment
Declare a desired Service output to be assigned in the environment
Create or update a binding of type Socket in the environment
Declare a desired Socket output to be assigned in the environment
Create or update a binding of type Stat in the environment
Declare a desired Stat output to be assigned in the environment
Provides a string input binding to the environment
Declares a desired string output binding
Create or update a binding of type UpGroup in the environment
Declare a desired UpGroup output to be assigned in the environment
Create or update a binding of type Up in the environment
Declare a desired Up output to be assigned in the environment
Returns a new environment with the provided workspace
Create or update a binding of type Workspace in the environment
Declare a desired Workspace output to be assigned in the environment
Returns a new environment without any outputs
Details
in
AbstractObject at line 13
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)
No description
in
AbstractObject at line 19
protected null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
at line 16
Check
check(string $name)
Return the check with the given name from the installed modules. Must match exactly one check.
at line 26
CheckGroup
checks(array|null $include = null)
Return all checks defined by the installed modules
at line 38
AbstractId
id()
A unique identifier for this Env.
at line 47
Binding
input(string $name)
Retrieves an input binding by name
at line 57
array
inputs()
Returns all input bindings provided to the environment
at line 66
Binding
output(string $name)
Retrieves an output binding by name
at line 76
array
outputs()
Returns all declared output bindings for the environment
at line 85
UpGroup
services(array|null $include = null)
Return all services defined by the installed modules
at line 97
Env
withAddressInput(string $name, Address $value, string $description)
Create or update a binding of type Address in the environment
at line 109
Env
withAddressOutput(string $name, string $description)
Declare a desired Address output to be assigned in the environment
at line 120
Env
withCacheVolumeInput(string $name, CacheVolume $value, string $description)
Create or update a binding of type CacheVolume in the environment
at line 132
Env
withCacheVolumeOutput(string $name, string $description)
Declare a desired CacheVolume output to be assigned in the environment
at line 143
Env
withChangesetInput(string $name, Changeset $value, string $description)
Create or update a binding of type Changeset in the environment
at line 155
Env
withChangesetOutput(string $name, string $description)
Declare a desired Changeset output to be assigned in the environment
at line 166
Env
withCheckGroupInput(string $name, CheckGroup $value, string $description)
Create or update a binding of type CheckGroup in the environment
at line 178
Env
withCheckGroupOutput(string $name, string $description)
Declare a desired CheckGroup output to be assigned in the environment
at line 189
Env
withCheckInput(string $name, Check $value, string $description)
Create or update a binding of type Check in the environment
at line 201
Env
withCheckOutput(string $name, string $description)
Declare a desired Check output to be assigned in the environment
at line 212
Env
withCloudInput(string $name, Cloud $value, string $description)
Create or update a binding of type Cloud in the environment
at line 224
Env
withCloudOutput(string $name, string $description)
Declare a desired Cloud output to be assigned in the environment
at line 235
Env
withContainerInput(string $name, Container $value, string $description)
Create or update a binding of type Container in the environment
at line 247
Env
withContainerOutput(string $name, string $description)
Declare a desired Container output to be assigned in the environment
at line 260
Env
withCurrentModule()
Installs the current module into the environment, exposing its functions to the model
Contextual path arguments will be populated using the environment's workspace.
at line 269
Env
withDiffStatInput(string $name, DiffStat $value, string $description)
Create or update a binding of type DiffStat in the environment
at line 281
Env
withDiffStatOutput(string $name, string $description)
Declare a desired DiffStat output to be assigned in the environment
at line 292
Env
withDirectoryInput(string $name, Directory $value, string $description)
Create or update a binding of type Directory in the environment
at line 304
Env
withDirectoryOutput(string $name, string $description)
Declare a desired Directory output to be assigned in the environment
at line 315
Env
withEnvFileInput(string $name, EnvFile $value, string $description)
Create or update a binding of type EnvFile in the environment
at line 327
Env
withEnvFileOutput(string $name, string $description)
Declare a desired EnvFile output to be assigned in the environment
at line 338
Env
withEnvInput(string $name, Env $value, string $description)
Create or update a binding of type Env in the environment
at line 350
Env
withEnvOutput(string $name, string $description)
Declare a desired Env output to be assigned in the environment
at line 361
Env
withFileInput(string $name, File $value, string $description)
Create or update a binding of type File in the environment
at line 373
Env
withFileOutput(string $name, string $description)
Declare a desired File output to be assigned in the environment
at line 384
Env
withGeneratorGroupInput(string $name, GeneratorGroup $value, string $description)
Create or update a binding of type GeneratorGroup in the environment
at line 399
Env
withGeneratorGroupOutput(string $name, string $description)
Declare a desired GeneratorGroup output to be assigned in the environment
at line 410
Env
withGeneratorInput(string $name, Generator $value, string $description)
Create or update a binding of type Generator in the environment
at line 422
Env
withGeneratorOutput(string $name, string $description)
Declare a desired Generator output to be assigned in the environment
at line 433
Env
withGitRefInput(string $name, GitRef $value, string $description)
Create or update a binding of type GitRef in the environment
at line 445
Env
withGitRefOutput(string $name, string $description)
Declare a desired GitRef output to be assigned in the environment
at line 456
Env
withGitRepositoryInput(string $name, GitRepository $value, string $description)
Create or update a binding of type GitRepository in the environment
at line 471
Env
withGitRepositoryOutput(string $name, string $description)
Declare a desired GitRepository output to be assigned in the environment
at line 482
Env
withHTTPStateInput(string $name, HTTPState $value, string $description)
Create or update a binding of type HTTPState in the environment
at line 494
Env
withHTTPStateOutput(string $name, string $description)
Declare a desired HTTPState output to be assigned in the environment
at line 505
Env
withJSONValueInput(string $name, JsonValue $value, string $description)
Create or update a binding of type JSONValue in the environment
at line 517
Env
withJSONValueOutput(string $name, string $description)
Declare a desired JSONValue output to be assigned in the environment
at line 530
Env
withMainModule(Module $module)
Sets the main module for this environment (the project being worked on)
Contextual path arguments will be populated using the environment's workspace.
at line 542
Env
withModule(Module $module)
Installs a module into the environment, exposing its functions to the model
Contextual path arguments will be populated using the environment's workspace.
at line 552
Env
withModuleConfigClientInput(string $name, ModuleConfigClient $value, string $description)
Create or update a binding of type ModuleConfigClient in the environment
at line 567
Env
withModuleConfigClientOutput(string $name, string $description)
Declare a desired ModuleConfigClient output to be assigned in the environment
at line 578
Env
withModuleInput(string $name, Module $value, string $description)
Create or update a binding of type Module in the environment
at line 590
Env
withModuleOutput(string $name, string $description)
Declare a desired Module output to be assigned in the environment
at line 601
Env
withModuleSourceInput(string $name, ModuleSource $value, string $description)
Create or update a binding of type ModuleSource in the environment
at line 613
Env
withModuleSourceOutput(string $name, string $description)
Declare a desired ModuleSource output to be assigned in the environment
at line 624
Env
withPhpSdkInput(string $name, PhpSdk $value, string $description)
Create or update a binding of type PhpSdk in the environment
at line 636
Env
withPhpSdkOutput(string $name, string $description)
Declare a desired PhpSdk output to be assigned in the environment
at line 647
Env
withSearchResultInput(string $name, SearchResult $value, string $description)
Create or update a binding of type SearchResult in the environment
at line 659
Env
withSearchResultOutput(string $name, string $description)
Declare a desired SearchResult output to be assigned in the environment
at line 670
Env
withSearchSubmatchInput(string $name, SearchSubmatch $value, string $description)
Create or update a binding of type SearchSubmatch in the environment
at line 685
Env
withSearchSubmatchOutput(string $name, string $description)
Declare a desired SearchSubmatch output to be assigned in the environment
at line 696
Env
withSecretInput(string $name, Secret $value, string $description)
Create or update a binding of type Secret in the environment
at line 708
Env
withSecretOutput(string $name, string $description)
Declare a desired Secret output to be assigned in the environment
at line 719
Env
withServiceInput(string $name, Service $value, string $description)
Create or update a binding of type Service in the environment
at line 731
Env
withServiceOutput(string $name, string $description)
Declare a desired Service output to be assigned in the environment
at line 742
Env
withSocketInput(string $name, Socket $value, string $description)
Create or update a binding of type Socket in the environment
at line 754
Env
withSocketOutput(string $name, string $description)
Declare a desired Socket output to be assigned in the environment
at line 765
Env
withStatInput(string $name, Stat $value, string $description)
Create or update a binding of type Stat in the environment
at line 777
Env
withStatOutput(string $name, string $description)
Declare a desired Stat output to be assigned in the environment
at line 788
Env
withStringInput(string $name, string $value, string $description)
Provides a string input binding to the environment
at line 800
Env
withStringOutput(string $name, string $description)
Declares a desired string output binding
at line 811
Env
withUpGroupInput(string $name, UpGroup $value, string $description)
Create or update a binding of type UpGroup in the environment
at line 823
Env
withUpGroupOutput(string $name, string $description)
Declare a desired UpGroup output to be assigned in the environment
at line 834
Env
withUpInput(string $name, Up $value, string $description)
Create or update a binding of type Up in the environment
at line 846
Env
withUpOutput(string $name, string $description)
Declare a desired Up output to be assigned in the environment
at line 857
Env
withWorkspace(Directory $workspace)
Returns a new environment with the provided workspace
at line 867
Env
withWorkspaceInput(string $name, Workspace $value, string $description)
Create or update a binding of type Workspace in the environment
at line 879
Env
withWorkspaceOutput(string $name, string $description)
Declare a desired Workspace output to be assigned in the environment
at line 890
Env
withoutOutputs()
Returns a new environment without any outputs
at line 896
Directory
workspace()
No description