Baleen\Cli\CommandBus\Config\AbstractConfigMessage

class AbstractConfigMessage

Shared functionality for all configuration-related Messages.

property configStorage

protected ConfigStorage

property config

protected ConfigInterface

property input

protected InputInterface

property output

protected OutputInterface

property cliCommand

protected Command

getConfigStorage()
Returns:ConfigStorage
setConfigStorage(ConfigStorage $configStorage)
Parameters:
getConfig()
setConfig(ConfigInterface $config)
Parameters:
getInput()
setInput(InputInterface $input)
Parameters:
  • $input (InputInterface) –
getOutput()
setOutput(OutputInterface $output)
Parameters:
  • $output (OutputInterface) –
getCliCommand()
Returns:Command
setCliCommand(Command $cliCommand)
Parameters:
  • $cliCommand (Command) –
configure(Command $command)

Configures a console command by setting name, description, arguments, etc.

Parameters:
  • $command (Command) –