CurrentModule
class CurrentModule extends AbstractObject implements IdAble
Reflective module API provided to functions at runtime.
Properties
$lastQuery | from AbstractObject |
Methods
No description
A unique identifier for this CurrentModule.
The name of the module being executed in
The directory containing the module's source code loaded into the engine (plus any generated code that may have been created).
Load a directory from the module's scratch working directory, including any changes that may have been made to it during module function execution.
Load a file from the module's scratch working directory, including any changes that may have been made to it during module function execution.Load a file from the module's scratch working directory, including any changes that may have been made to it during module function execution.
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 19
AbstractId
id()
A unique identifier for this CurrentModule.
at line 28
string
name()
The name of the module being executed in
at line 37
Directory
source()
The directory containing the module's source code loaded into the engine (plus any generated code that may have been created).
at line 46
Directory
workdir(string $path, array|null $exclude = null, array|null $include = null)
Load a directory from the module's scratch working directory, including any changes that may have been made to it during module function execution.
at line 62
File
workdirFile(string $path)
Load a file from the module's scratch working directory, including any changes that may have been made to it during module function execution.Load a file from the module's scratch working directory, including any changes that may have been made to it during module function execution.