CommandsConfigDefinition
final class CommandsConfigDefinition extends AbstractConfigDefinition (View source)
Builds the raw command configuration accepted by the configuration pipeline.
Properties
| protected mixed[] | $data | from AbstractConfigDefinition |
Methods
Replaces one configuration value at a dot-separated path.
Appends one configuration value at a dot-separated list path.
Creates an empty command configuration definition.
Returns the module key used to select the commands configuration payload.
Appends one legacy command class entry to the current definition.
Replaces the current entries with command classes or metadata mappings.
Details
toArray
array
toArray()
No description
set
protected AbstractConfigDefinition
set(string $path, mixed $value)
Replaces one configuration value at a dot-separated path.
append
protected AbstractConfigDefinition
append(string $path, mixed $value)
Appends one configuration value at a dot-separated list path.
moduleKey
static string
moduleKey()
Returns the module key used to select the commands configuration payload.
command
CommandsConfigDefinition
command(string $command)
Appends one legacy command class entry to the current definition.
commands
CommandsConfigDefinition
commands(array $commands)
Replaces the current entries with command classes or metadata mappings.