Total Complexity | 2 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class MakeRepositoryPatternCommand extends Command |
||
9 | { |
||
10 | /** |
||
11 | * The name and signature of the console command. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $signature = 'make:repo {name : Model Class (Singular), e.g User, Place, Car, Post} {--r|request : Make Repo Pattern with request}'; |
||
16 | |||
17 | /** |
||
18 | * The console command description. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $description = 'Create Repository Pattern with a single command'; |
||
23 | |||
24 | /** |
||
25 | * Create a new command instance. |
||
26 | * |
||
27 | * @return void |
||
28 | */ |
||
29 | public function __construct() |
||
30 | { |
||
31 | parent::__construct(); |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Execute the console command. |
||
36 | * |
||
37 | * @return mixed |
||
38 | */ |
||
39 | public function handle() |
||
48 | } |
||
49 | } |
||
50 |