Baleen\Cli\CommandBus\AbstractMessage

class AbstractMessage

Class AbstractMessage.

property config

protected ConfigInterface

property input

protected InputInterface

property output

protected OutputInterface

property cliCommand

protected Command

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) –