public function removeCommand($name) { if ($cmd = cmd::byEqLogicIdCmdName($this->getId(), $name)) { $cmd->remove(); } }