Contao\CoreBundle\Command\AutomatorCommand::getCommands PHP Method

getCommands() private method

Returns a list of available commands.
private getCommands ( ) : array
return array
    private function getCommands()
    {
        if (empty($this->commands)) {
            $this->commands = $this->generateCommandMap();
        }
        return $this->commands;
    }