for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace LaravelFreelancerNL\Aranguent\Console;
use Illuminate\Foundation\Console\ModelMakeCommand as IlluminateModelMakeCommand;
class ModelMakeCommand extends IlluminateModelMakeCommand
{
/**
* The console command name.
*
* @var string
*/
protected $name = 'aranguent:model';
* Get the stub file for the generator.
* @return string
protected function getStub()
if ($this->option('pivot')) {
return __DIR__ . '/stubs/pivot.model.stub';
}
return __DIR__ . '/stubs/model.stub';