docs/static/reference/php/Dagger/FunctionArg.html
class FunctionArg extends AbstractObject implements IdAble
An argument accepted by a function.
This is a specification for an argument at function definition time, not an argument passed at function call time.
| | $lastQuery | | from AbstractObject |
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)
No description
from AbstractObject
null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
from AbstractObject
string
Only applies to arguments of type Container. If the argument is not set, load it from the given address (e.g. alpine:latest)
string
Only applies to arguments of type File or Directory. If the argument is not set, load it from the given path in the context directory
A default value to use for this argument when not explicitly set by the caller, if any.
string
The reason this function is deprecated, if any.
string
A doc string for the argument, if any.
id()
A unique identifier for this FunctionArg.
array
ignore()
Only applies to arguments of type Directory. The ignore patterns are applied to the input directory, and matching entries are filtered out, in a cache-efficient manner.
string
name()
The name of the argument in lowerCamelCase format.
The location of this arg declaration.
typeDef()
The type of the argument.
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain) No description
| AbstractClient | $client | | | QueryBuilderChain | $queryBuilderChain | |
protected null|array|string|int|float|bool queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)No description
| QueryBuilder | $leafQueryBuilder | | | string | $leafKey | |
| null|array|string|int|float|bool | |
string defaultAddress()Only applies to arguments of type Container. If the argument is not set, load it from the given address (e.g. alpine:latest)
| string | |
string defaultPath()Only applies to arguments of type File or Directory. If the argument is not set, load it from the given path in the context directory
| string | |
Json defaultValue()A default value to use for this argument when not explicitly set by the caller, if any.
| Json | |
string deprecated()The reason this function is deprecated, if any.
| string | |
string description()A doc string for the argument, if any.
| string | |
AbstractId id()A unique identifier for this FunctionArg.
| AbstractId | |
array ignore()Only applies to arguments of type Directory. The ignore patterns are applied to the input directory, and matching entries are filtered out, in a cache-efficient manner.
| array | |
string name()The name of the argument in lowerCamelCase format.
| string | |
SourceMap sourceMap()The location of this arg declaration.
| SourceMap | |
TypeDef typeDef()The type of the argument.
| TypeDef | |
Generated by Doctum, a API Documentation generator and fork of Sami.