src/Commands/WidgetGeneratorCommand.php
protected function getTemplate($template)
    {
        $path = realpath(__DIR__.'/../templates/'.$template.'.txt');

        return $this->files->get($path);
    }
protected function getTemplate($template)
    {
        $path = realpath(__DIR__.'/../templates/'.$template.'.txt');

        return $this->files->get($path);
    }
protected function getTemplate ( $ template ) { $ path = realpath ( __DIR__ . '/../templates/' . $ template . '.txt' ) ; return $ this -> files -> get ( $ path ) ; }
Get default template.

@param  string $template
@return string
Get default template .