Upgrade framework
This commit is contained in:
24
vendor/spatie/laravel-ignition/src/Commands/SolutionProviderMakeCommand.php
vendored
Normal file
24
vendor/spatie/laravel-ignition/src/Commands/SolutionProviderMakeCommand.php
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Spatie\LaravelIgnition\Commands;
|
||||
|
||||
use Illuminate\Console\GeneratorCommand;
|
||||
|
||||
class SolutionProviderMakeCommand extends GeneratorCommand
|
||||
{
|
||||
protected $name = 'ignition:make-solution-provider';
|
||||
|
||||
protected $description = 'Create a new custom Ignition solution provider class';
|
||||
|
||||
protected $type = 'Solution Provider';
|
||||
|
||||
protected function getStub(): string
|
||||
{
|
||||
return __DIR__.'/stubs/solution-provider.stub';
|
||||
}
|
||||
|
||||
protected function getDefaultNamespace($rootNamespace)
|
||||
{
|
||||
return "{$rootNamespace}\\SolutionProviders";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user