Add meta command for phpstorm

This commit is contained in:
Barry vd. Heuvel
2015-03-16 12:14:15 +01:00
parent 81b7febfc6
commit 70c06f5b37
3 changed files with 128 additions and 1 deletions
+7 -1
View File
@@ -59,8 +59,14 @@ class IdeHelperServiceProvider extends ServiceProvider
return new ModelsCommand();
}
);
$this->app['command.ide-helper.meta'] = $this->app->share(
function ($app) {
return new MetaCommand($app['files'], $app['view']);
}
);
$this->commands('command.ide-helper.generate', 'command.ide-helper.models');
$this->commands('command.ide-helper.generate', 'command.ide-helper.models', 'command.ide-helper.meta');
}
/**