php-sdk-dev
No long description provided.
Installation
dagger install github.com/charjr/dagger/sdk/php/dev@a6e2cd3dbf33e3891b556a362509953535c8f717
Entrypoint
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/charjr/dagger/sdk/php/dev@a6e2cd3dbf33e3891b556a362509953535c8f717 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/charjr/dagger/sdk/php/dev@a6e2cd3dbf33e3891b556a362509953535c8f717 call \
test
func (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() 🔗
Check for linting errors
Return Type
Container !
Example
dagger -m github.com/charjr/dagger/sdk/php/dev@a6e2cd3dbf33e3891b556a362509953535c8f717 call \
lint
func (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() 🔗
format source files
Return Type
Directory !
Example
dagger -m github.com/charjr/dagger/sdk/php/dev@a6e2cd3dbf33e3891b556a362509953535c8f717 call \
format
func (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() 🔗
Base container to run CI on the PHP SDK source files
Return Type
Container !
Example
dagger -m github.com/charjr/dagger/sdk/php/dev@a6e2cd3dbf33e3891b556a362509953535c8f717 call \
base
func (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()
}