芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/sommatv/vendor/illuminate/database/SeedServiceProvider.php
app->singleton('seeder', function () { return new Seeder; }); $this->registerSeedCommand(); $this->commands('command.seed'); } /** * Register the seed console command. * * @return void */ protected function registerSeedCommand() { $this->app->singleton('command.seed', function ($app) { return new SeedCommand($app['db']); }); } /** * Get the services provided by the provider. * * @return array */ public function provides() { return ['seeder', 'command.seed']; } }