Skip to content

Instantly share code, notes, and snippets.

@Russkazkin
Created September 4, 2020 07:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Russkazkin/14ee52e62ebc1d8b52aabd4db78ec959 to your computer and use it in GitHub Desktop.
Save Russkazkin/14ee52e62ebc1d8b52aabd4db78ec959 to your computer and use it in GitHub Desktop.
<?php
namespace App\Console\Commands;
use Illuminate\Foundation\Console\ModelMakeCommand as Command;
class ModelMakeCommand extends Command
{
protected function getDefaultNamespace($rootNamespace)
{
return "{$rootNamespace}\Models";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment