php-sdk-dev
No long description provided.
Installation
dagger install github.com/Klomgor/dagger/sdk/php/dev@1afba1d1ca9c59ffedcabbdd85a84b922b7fdc49Entrypoint
Return Type
PhpSdkDev !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| source | Directory | - | The PHP SDK source directory. | 
| container | Container | null | No description provided | 
Example
dagger -m github.com/Klomgor/dagger/sdk/php/dev@1afba1d1ca9c59ffedcabbdd85a84b922b7fdc49 call \
func (m *MyModule) Example() *dagger.PhpSdkDev  {
	return dag.
			PhpSdkDev()
}@function
def example() -> dagger.PhpSdkDev:
	return (
		dag.php_sdk_dev()
	)@func()
example(): PhpSdkDev {
	return dag
		.phpSdkDev()
}Types
PhpSdkDev 🔗
The PHP SDK's development module.
test() 🔗
Run tests in source directory
Return Type
Container !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| group | String | null | Only run tests in the given group | 
Example
dagger -m github.com/Klomgor/dagger/sdk/php/dev@1afba1d1ca9c59ffedcabbdd85a84b922b7fdc49 call \
 testfunc (m *MyModule) Example() *dagger.Container  {
	return dag.
			PhpSdkDev().
			Test()
}@function
def example() -> dagger.Container:
	return (
		dag.php_sdk_dev()
		.test()
	)@func()
example(): Container {
	return dag
		.phpSdkDev()
		.test()
}lint() 🔗
Run linter in source directory
Return Type
Container !Example
dagger -m github.com/Klomgor/dagger/sdk/php/dev@1afba1d1ca9c59ffedcabbdd85a84b922b7fdc49 call \
 lintfunc (m *MyModule) Example() *dagger.Container  {
	return dag.
			PhpSdkDev().
			Lint()
}@function
def example() -> dagger.Container:
	return (
		dag.php_sdk_dev()
		.lint()
	)@func()
example(): Container {
	return dag
		.phpSdkDev()
		.lint()
}format() 🔗
Return diff from formatting source directory
Return Type
Directory !Example
dagger -m github.com/Klomgor/dagger/sdk/php/dev@1afba1d1ca9c59ffedcabbdd85a84b922b7fdc49 call \
 formatfunc (m *MyModule) Example() *dagger.Directory  {
	return dag.
			PhpSdkDev().
			Format()
}@function
def example() -> dagger.Directory:
	return (
		dag.php_sdk_dev()
		.format()
	)@func()
example(): Directory {
	return dag
		.phpSdkDev()
		.format()
}base() 🔗
build a PHP container with the PHP SDK source files added and dependencies installed
Return Type
Container !Example
dagger -m github.com/Klomgor/dagger/sdk/php/dev@1afba1d1ca9c59ffedcabbdd85a84b922b7fdc49 call \
 basefunc (m *MyModule) Example() *dagger.Container  {
	return dag.
			PhpSdkDev().
			Base()
}@function
def example() -> dagger.Container:
	return (
		dag.php_sdk_dev()
		.base()
	)@func()
example(): Container {
	return dag
		.phpSdkDev()
		.base()
}formatStdout() 🔗
Return stdout from formatting source directory
Return Type
String !Example
dagger -m github.com/Klomgor/dagger/sdk/php/dev@1afba1d1ca9c59ffedcabbdd85a84b922b7fdc49 call \
 format-stdoutfunc (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			PhpSdkDev().
			FormatStdout(ctx)
}@function
async def example() -> str:
	return await (
		dag.php_sdk_dev()
		.format_stdout()
	)@func()
async example(): Promise<string> {
	return dag
		.phpSdkDev()
		.formatStdout()
}