php-sdk-dev
No long description provided.
Installation
dagger install github.com/dagger/dagger/sdk/php/dev@v0.13.3
Entrypoint
Return Type
PhpSdkDev
Example
dagger -m github.com/dagger/dagger/sdk/php/dev@d3a02170c96d4d81343dbbcd5c555ba6b8d38b45 call \
func (m *myModule) example() *PhpSdkDev {
return dag.
PhpSdkDev()
}
@function
def example() -> dag.PhpSdkDev:
return (
dag.php_sdk_dev()
)
@func()
example(): PhpSdkDev {
return dag
.phpSdkDev()
}
Types
PhpSdkDev 🔗
test() 🔗
Run tests from source directory
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | No description provided |
group | String | null | No description provided |
Example
dagger -m github.com/dagger/dagger/sdk/php/dev@d3a02170c96d4d81343dbbcd5c555ba6b8d38b45 call \
test --source DIR_PATH
func (m *myModule) example(source *Directory) *Container {
return dag.
PhpSdkDev().
Test(source)
}
@function
def example(source: dagger.Directory) -> dagger.Container:
return (
dag.php_sdk_dev()
.test(source)
)
@func()
example(source: Directory): Container {
return dag
.phpSdkDev()
.test(source)
}
lint() 🔗
Run linter in source directory
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | No description provided |
Example
dagger -m github.com/dagger/dagger/sdk/php/dev@d3a02170c96d4d81343dbbcd5c555ba6b8d38b45 call \
lint --source DIR_PATH
func (m *myModule) example(source *Directory) *Container {
return dag.
PhpSdkDev().
Lint(source)
}
@function
def example(source: dagger.Directory) -> dagger.Container:
return (
dag.php_sdk_dev()
.lint(source)
)
@func()
example(source: Directory): Container {
return dag
.phpSdkDev()
.lint(source)
}