Dagger
Search

test-php-doc

No long description provided.

Installation

dagger install github.com/charjr/dagger-modules/test-php-doc@150bdd93729eb4cf2769f88f1f577487ea25a6a8

Entrypoint

Return Type
TestPhpDoc
Example
dagger -m github.com/charjr/dagger-modules/test-php-doc@150bdd93729eb4cf2769f88f1f577487ea25a6a8 call \
func (m *myModule) example() *TestPhpDoc  {
	return dag.
			TestPhpDoc()
}
@function
def example() -> dag.TestPhpDoc:
	return (
		dag.test_php_doc()
	)
@func()
example(): TestPhpDoc {
	return dag
		.testPhpDoc()
}

Types

TestPhpDoc 🔗

A generated module for Example functions

containerEcho() 🔗

Returns a container that echoes whatever string argument is provided

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
stringArgString !-No description provided
Example
dagger -m github.com/charjr/dagger-modules/test-php-doc@150bdd93729eb4cf2769f88f1f577487ea25a6a8 call \
 container-echo --string-arg string
func (m *myModule) example(stringArg string) *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
NameTypeDefault ValueDescription
directoryArgDirectory !-The directory to search
patternString !-The pattern to search for
Example
dagger -m github.com/charjr/dagger-modules/test-php-doc@150bdd93729eb4cf2769f88f1f577487ea25a6a8 call \
 grep-dir --directory-arg DIR_PATH --pattern string
func (m *myModule) example(ctx context.Context, directoryArg *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)
}