public function getCommands() { $commands = $this->getModuleCommands(Yii::$app); sort($commands); return array_unique($commands); }