File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,18 @@ public function handle()
54
54
$ blueprint = new Blueprint ();
55
55
56
56
$ blueprint ->registerLexer (new \Blueprint \Lexers \ModelLexer ());
57
+ $ blueprint ->registerLexer (new \Blueprint \Lexers \ControllerLexer (new \Blueprint \Lexers \StatementLexer ()));
57
58
58
59
$ blueprint ->registerGenerator (new \Blueprint \Generators \MigrationGenerator ($ this ->files ));
59
60
$ blueprint ->registerGenerator (new \Blueprint \Generators \ModelGenerator ($ this ->files ));
60
61
$ blueprint ->registerGenerator (new \Blueprint \Generators \FactoryGenerator ($ this ->files ));
61
62
62
- // TODO: load additional generators
63
+ $ blueprint ->registerGenerator (new \Blueprint \Generators \ControllerGenerator ($ this ->files ));
64
+ $ blueprint ->registerGenerator (new \Blueprint \Generators \Statements \EventGenerator ($ this ->files ));
65
+ $ blueprint ->registerGenerator (new \Blueprint \Generators \Statements \FormRequestGenerator ($ this ->files ));
66
+ $ blueprint ->registerGenerator (new \Blueprint \Generators \Statements \JobGenerator ($ this ->files ));
67
+ $ blueprint ->registerGenerator (new \Blueprint \Generators \Statements \MailGenerator ($ this ->files ));
68
+ $ blueprint ->registerGenerator (new \Blueprint \Generators \Statements \ViewGenerator ($ this ->files ));
63
69
64
70
$ tokens = $ blueprint ->parse ($ contents );
65
71
$ registry = $ blueprint ->analyze ($ tokens );
You can’t perform that action at this time.
0 commit comments