Beispiel #1
0
 /**
  * Execute the console command.
  *
  * @return mixed
  */
 public function handle()
 {
     $count = $this->seeder->count();
     if ($count == 0) {
         return $this->line('No bouncer seeders have been registered.');
     }
     $this->seeder->run();
     $this->info($this->getSeededMessage($count));
 }
Beispiel #2
0
 /**
  * Run the registered seeders.
  *
  * @return $this
  */
 public function seed()
 {
     $this->seeder->run();
     return $this;
 }