for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of questocat/lumen-request package.
*
* (c) questocat <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Questocat\LumenRequest\Console;
class RequestMakeCommand extends GeneratorCommand
{
/**
* The console command name.
* @var string
protected $name = 'make:request';
* The console command description.
protected $description = 'Create a new input request class';
* The type of class being generated.
protected $type = 'Request';
* Get the stub file for the generator.
* @return string
protected function getStub()
return __DIR__.'/stubs/make/request.stub';
}
* Get the default namespace for the class.
* @param string $rootNamespace
protected function getDefaultNamespace($rootNamespace)
return $rootNamespace.'\Http\Requests';