public function register()
    {
        $this->app->singleton(DatabaseSeeder::class);
        $this->app->extend('command.seed', function () {
            return new SeedCommand($this->app['db']);
        });
    }
public function register()
    {
        $this->app->singleton(DatabaseSeeder::class);
        $this->app->extend('command.seed', function () {
            return new SeedCommand($this->app['db']);
        });
    }
public function register ( ) { $ this -> app -> singleton ( DatabaseSeeder :: class ) ; $ this -> app -> extend ( 'command.seed' , function ( ) { return new SeedCommand ( $ this -> app [ 'db' ] ) ; } ) ; }
Register the seed console command.
Register the seed console command .