Baleen\Cli\CommandBus\MessageInterface

interface MessageInterface

Interface MessageInterface.

configure(Command $command)

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

Parameters:
  • $command (Command) –
getConfig()

getConfig.

Returns:ConfigInterface
setConfig(ConfigInterface $config)

setConfig.

Parameters:
getInput()

getInput.

Returns:InputInterface
setInput(InputInterface $input)

setInput.

Parameters:
  • $input (InputInterface) –
getOutput()

getOutput.

Returns:OutputInterface
setOutput(OutputInterface $output)

setOutput.

Parameters:
  • $output (OutputInterface) –
getCliCommand()

getCliCommand.

Returns:Command
setCliCommand(Command $command)

setCliCommand.

Parameters:
  • $command (Command) –