Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
16 | class Service extends Make |
||
1 ignored issue
–
show
|
|||
17 | { |
||
18 | protected $type = "Service"; |
||
19 | |||
20 | protected function configure() |
||
21 | { |
||
22 | parent::configure(); |
||
23 | $this->setName('make:service') |
||
24 | ->setDescription('Create a new Service class'); |
||
25 | } |
||
26 | |||
27 | protected function getStub(): string |
||
28 | { |
||
29 | return __DIR__ . DIRECTORY_SEPARATOR . 'stubs' . DIRECTORY_SEPARATOR . 'service.stub'; |
||
30 | } |
||
31 | |||
32 | protected function getNamespace(string $app): string |
||
35 | } |
||
36 | } |
||
37 |