Baleen\Cli\CommandBus\Repository\AbstractRepositoryMessage

class AbstractRepositoryMessage

Class AbstractRepositoryMessage.

property repository

protected RepositoryInterface

property filesystem

protected Filesystem

property comparator

protected callable

property config

protected ConfigInterface

property input

protected InputInterface

property output

protected OutputInterface

property cliCommand

protected Command

getRepository()
Returns:RepositoryInterface
setRepository(RepositoryInterface $repository)
Parameters:
getFilesystem()
Returns:Filesystem
setFilesystem(Filesystem $filesystem)
Parameters:
  • $filesystem (Filesystem) –
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) –