protected function registerCommands() { foreach ($this->commands as $command) { $this->commands('Encore\\Admin\\Commands\\' . $command); } }