Exemplo n.º 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));
 }
Exemplo n.º 2
0
 /**
  * Run the registered seeders.
  *
  * @return $this
  */
 public function seed()
 {
     $this->seeder->run();
     return $this;
 }