test-php-doc
No long description provided.
Installation
dagger install github.com/charjr/daggerverse/test-php-doc@edc2d8e354f1b722d8e699495b635abe64a95f3aEntrypoint
Return Type
TestPhpDoc Example
dagger -m github.com/charjr/daggerverse/test-php-doc@edc2d8e354f1b722d8e699495b635abe64a95f3a call \
func (m *MyModule) Example() *dagger.TestPhpDoc {
return dag.
TestPhpDoc()
}@function
def example() -> dagger.TestPhpDoc:
return (
dag.test_php_doc()
)@func()
example(): TestPhpDoc {
return dag
.testPhpDoc()
}Types
TestPhpDoc 🔗
Short description is the first line Long descriptions include any lines past that. So I expect to see this show up.
containerEcho() 🔗
Returns a container that echoes whatever string argument is provided
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| stringArg | String ! | - | No description provided |
Example
dagger -m github.com/charjr/daggerverse/test-php-doc@edc2d8e354f1b722d8e699495b635abe64a95f3a call \
container-echo --string-arg stringfunc (m *MyModule) Example(stringArg string) *dagger.Container {
return dag.
TestPhpDoc().
ContainerEcho(stringArg)
}@function
def example(string_arg: str) -> dagger.Container:
return (
dag.test_php_doc()
.container_echo(string_arg)
)@func()
example(stringArg: string): Container {
return dag
.testPhpDoc()
.containerEcho(stringArg)
}grepDir() 🔗
Returns lines that match a pattern in the files of the provided Directory
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| directoryArg | Directory ! | - | The directory to search |
| pattern | String ! | - | The pattern to search for |
Example
dagger -m github.com/charjr/daggerverse/test-php-doc@edc2d8e354f1b722d8e699495b635abe64a95f3a call \
grep-dir --directory-arg DIR_PATH --pattern stringfunc (m *MyModule) Example(ctx context.Context, directoryArg *dagger.Directory, pattern string) string {
return dag.
TestPhpDoc().
GrepDir(ctx, directoryArg, pattern)
}@function
async def example(directory_arg: dagger.Directory, pattern: str) -> str:
return await (
dag.test_php_doc()
.grep_dir(directory_arg, pattern)
)@func()
async example(directoryArg: Directory, pattern: string): Promise<string> {
return dag
.testPhpDoc()
.grepDir(directoryArg, pattern)
}