solve PHP Notice:  Undefined variable

solve PHP Notice:  Undefined variable: command at CommandBase::getCommand()