FunctionArg
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.
Properties
| $lastQuery | from AbstractObject |
Methods
No description
Only applies to arguments of type Container. If the argument is not set, load it from the given address (e.g. alpine:latest)
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.
The reason this function is deprecated, if any.
A doc string for the argument, if any.
A unique identifier for this FunctionArg.
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.
The name of the argument in lowerCamelCase format.
Details
in
AbstractObject at line 13
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)
No description
in
AbstractObject at line 19
protected null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
at line 21
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)
at line 30
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
at line 39
Json
defaultValue()
A default value to use for this argument when not explicitly set by the caller, if any.
at line 48
string
deprecated()
The reason this function is deprecated, if any.
at line 57
string
description()
A doc string for the argument, if any.
at line 66
AbstractId
id()
A unique identifier for this FunctionArg.
at line 75
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.
at line 84
string
name()
The name of the argument in lowerCamelCase format.
at line 93
SourceMap
sourceMap()
The location of this arg declaration.
at line 102
TypeDef
typeDef()
The type of the argument.