Nwidart\Modules\Commands\CommandCommand::getTemplateContents PHP Метод

getTemplateContents() защищенный Метод

protected getTemplateContents ( ) : mixed
Результат mixed
    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();
    }