1 | <?php |
||
10 | class MakeMVC extends MakeVC |
||
11 | { |
||
12 | use CreatesModels; |
||
13 | |||
14 | /** |
||
15 | * The name and signature of the console command. |
||
16 | */ |
||
17 | protected $signature = 'make:mvc {link : The route link} {action? : View or controller to create} |
||
18 | {--t|type=controller : Type of route to create (regular,controller,resource)} {--m|method=get : HTTP method} |
||
19 | {--api : Route is an api route}'; |
||
20 | |||
21 | /** |
||
22 | * The console command description. |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $description = 'Create a full MVC(Model View Controller) and his corresponding route and menu entry'; |
||
27 | |||
28 | /** |
||
29 | * MakeMVC constructor. |
||
30 | */ |
||
31 | public function __construct() |
||
35 | |||
36 | /** |
||
37 | * Execute the console command. |
||
38 | */ |
||
39 | public function handle() |
||
44 | |||
45 | } |
||
46 |