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