Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 75% |
Changes | 0 |
1 | <?php |
||
7 | class ModelMakeCommand extends IlluminateModelMakeCommand |
||
8 | { |
||
9 | /** |
||
10 | * The console command name. |
||
11 | * |
||
12 | * @var string |
||
13 | */ |
||
14 | protected $name = 'aranguent:model'; |
||
15 | |||
16 | /** |
||
17 | * Get the stub file for the generator. |
||
18 | * |
||
19 | * @return string |
||
20 | */ |
||
21 | 1 | protected function getStub() |
|
26 | } |
||
27 | 1 | ||
28 | /** |
||
29 | * Resolve the fully-qualified path to the stub. |
||
30 | * |
||
31 | * This method is an exact copy of the original to keep the functionality but reroute __DIR__ |
||
32 | * |
||
33 | * @param string $stub |
||
34 | * @return string |
||
35 | */ |
||
36 | protected function resolveStubPath($stub) |
||
43 |