Files
kulakpos_web/public/restaurant/app/Console/Commands/NewInterfaceMakeCommand.php

25 lines
502 B
PHP

<?php
namespace App\Console\Commands;
use Illuminate\Console\GeneratorCommand;
class NewInterfaceMakeCommand extends GeneratorCommand
{
protected $name = 'make:interface-file';
protected $description = 'Create a new interface class';
protected $type = 'Interface';
protected function getStub()
{
return resource_path('stubs/interface.stub');
}
protected function getDefaultNamespace($rootNamespace)
{
return $rootNamespace.'\\Interfaces';
}
}