addCommand() addCommand(\App\CoreModule\Entities\Command $command) : void Adds a command in to the stack Parameters \App\CoreModule\Entities\Command $command Command to add
getCommands() getCommands() : \App\CoreModule\Entities\Command[] Returns commands in the stack Returns \App\CoreModule\Entities\Command[] — Commands in the stack