Dagger
Search

php-sdk-dev

No long description provided.

Installation

dagger install github.com/shykes/dagger/sdk/php/dev@d8ad01e46d5be8188d7012c85875832387c0ff5a

Entrypoint

Return Type
PhpSdkDev !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -The PHP SDK source directory.
containerContainer nullNo description provided
Example
func (m *myModule) example() *PhpSdkDev  {
	return dag.
			PhpSdkDev()
}

Types

PhpSdkDev 🔗

The PHP SDK's development module.

test() 🔗

Run tests in source directory

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
groupString nullOnly run tests in the given group
Example
func (m *myModule) example() *Container  {
	return dag.
			PhpSdkDev().
			Test()
}

lint() 🔗

Run linter in source directory

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

format() 🔗

Return diff from formatting source directory

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

formatStdout() 🔗

Return stdout from formatting source directory

Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			PhpSdkDev().
			FormatStdout(ctx)
}