Dagger
Search

php-sdk

when done add php to core/schema/sdk.go:L93

Installation

dagger install github.com/TomChv/dagger/sdk/php@578d751df6cdca09b2c7961c2e69e8b23b9e91c7

Entrypoint

Return Type
PhpSdk !
Arguments
NameTypeDefault ValueDescription
sdkSourceDirDirectory -Directory with the PHP SDK source code.
Example
func (m *myModule) example() *PhpSdk  {
	return dag.
			PhpSdk()
}

Types

PhpSdk 🔗

sourceDir() 🔗

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			PhpSdk().
			SourceDir()
}

requiredPaths() 🔗

Return Type
[String ! ] !
Example
func (m *myModule) example(ctx context.Context) []string  {
	return dag.
			PhpSdk().
			RequiredPaths(ctx)
}

container() 🔗

Return Type
Container !
Example
func (m *myModule) example() *Container  {
	return dag.
			PhpSdk().
			Container()
}

codegen() 🔗

Return Type
GeneratedCode !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
introspectionJsonString !-No description provided
Example
func (m *myModule) example(modSource *ModuleSource, introspectionJson string) *GeneratedCode  {
	return dag.
			PhpSdk().
			Codegen(modSource, introspectionJson)
}

codegenBase() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
introspectionJsonString !-No description provided
Example
func (m *myModule) example(modSource *ModuleSource, introspectionJson string) *Container  {
	return dag.
			PhpSdk().
			CodegenBase(modSource, introspectionJson)
}

moduleRuntime() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
introspectionJsonString !-No description provided
Example
func (m *myModule) example(modSource *ModuleSource, introspectionJson string) *Container  {
	return dag.
			PhpSdk().
			ModuleRuntime(modSource, introspectionJson)
}