Skip to content

Commit d2c021b

Browse files
committed
Register new Seeder lexer and generator
1 parent 9af9a8e commit d2c021b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/BlueprintServiceProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,13 @@ function ($app) {
6565
$this->app->singleton(Blueprint::class, function ($app) {
6666
$blueprint = new Blueprint();
6767
$blueprint->registerLexer(new \Blueprint\Lexers\ModelLexer());
68+
$blueprint->registerLexer(new \Blueprint\Lexers\SeederLexer());
6869
$blueprint->registerLexer(new \Blueprint\Lexers\ControllerLexer(new \Blueprint\Lexers\StatementLexer()));
6970

7071
$blueprint->registerGenerator(new \Blueprint\Generators\MigrationGenerator($app['files']));
7172
$blueprint->registerGenerator(new \Blueprint\Generators\ModelGenerator($app['files']));
7273
$blueprint->registerGenerator(new \Blueprint\Generators\FactoryGenerator($app['files']));
74+
$blueprint->registerGenerator(new \Blueprint\Generators\SeederGenerator($app['files']));
7375

7476
$blueprint->registerGenerator(new \Blueprint\Generators\ControllerGenerator($app['files']));
7577
$blueprint->registerGenerator(new \Blueprint\Generators\Statements\EventGenerator($app['files']));

0 commit comments

Comments
 (0)