for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Nasyrov\Laravel\Interactions\Console;
use Illuminate\Console\GeneratorCommand;
class InteractionMakeCommand extends GeneratorCommand
{
/**
* The console command name.
*
* @var string
*/
protected $name = 'make:interaction';
* The console command description.
protected $description = 'Create a new interaction class';
* The type of class being generated.
protected $type = 'Interaction';
* Get the stub file for the generator.
* @return string
protected function getStub()
return __DIR__ . '/stubs/interaction.stub';
}
* Get the default namespace for the class.
* @param string $rootNamespace
protected function getDefaultNamespace($rootNamespace)
return $rootNamespace . '\Interactions';