protected function getTemplateContents() { $module = $this->laravel['modules']->findOrFail($this->getModuleName()); return (new Stub('/command.stub', ['COMMAND_NAME' => $this->getCommandName(), 'NAMESPACE' => $this->getClassNamespace($module), 'CLASS' => $this->getClass()]))->render(); }