Baleen\Cli\CommandBus\Storage\AbstractStorageMessage

class AbstractStorageMessage

Class AbstractStorageMessage.

property storage

protected StorageInterface

property comparator

protected callable

property config

protected ConfigInterface

property input

protected InputInterface

property output

protected OutputInterface

property cliCommand

protected Command

getStorage()
Returns:StorageInterface
setStorage(StorageInterface $storage = null)
Parameters:
getComparator()
Returns:callable
setComparator($comparator)
Parameters:
  • $comparator (callable) –
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) –