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