php-sdk-dev
No long description provided.
Installation
dagger install github.com/shykes/dagger/sdk/php/dev@d8ad01e46d5be8188d7012c85875832387c0ff5a
Entrypoint
Return Type
PhpSdkDev !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory | - | The PHP SDK source directory. |
container | Container | null | No 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
Name | Type | Default Value | Description |
---|---|---|---|
group | String | null | Only 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)
}