(eg: Winter.Blog)} {widget : The name of the report widget to generate. (eg: PostViews)} {--force : Overwrite existing files with generated files.} {--uninspiring : Disable inspirational quotes} '; /** * The console command description. * * @var string */ protected $description = 'Creates a new report widget.'; /** * The type of class being generated. * * @var string */ protected $type = 'ReportWidget'; /** * @var string The argument that the generated class name comes from */ protected $nameFrom = 'widget'; /** * A mapping of stub to generated file. * * @var array */ protected $stubs = [ 'scaffold/reportwidget/reportwidget.stub' => 'reportwidgets/{{studly_name}}.php', 'scaffold/reportwidget/widget.stub' => 'reportwidgets/{{lower_name}}/partials/_{{lower_name}}.php', ]; }