user = $user; } /** * Execute the job. * * @return void */ public function handle() { $api = $this->user->getNamiApi(); $bar = $this->createProgressBar('Initialisiere'); foreach (static::$initializers as $initializer) { (new $initializer($bar, $api))->handle(); } $bar->finish('Initialisierung abgeschlossen'); } }