/** * Fire the install script. * * @param Command $command * * @return mixed */ public function fire(Command $command) { if ($command->option('verbose')) { $command->blockMessage('Seeds', 'Running the module seeds ...', 'comment'); } $this->demoSeedCoreModules($command); $this->demoSeedAdditionalModules($command); }
/** * Fire the install script. * * @param Command $command * * @return mixed */ public function fire(Command $command) { $this->command = $command; if ($command->option('verbose')) { $command->blockMessage('User', 'Creating Admin User...', 'comment'); } $this->seedAdminRole(); $this->createFirstUser(); }
/** * Fire the install script. * * @param Command $command * * @throws Exception * * @return mixed */ public function fire(Command $command) { $this->command = $command; if ($command->option('verbose')) { $command->blockMessage('Requirements', 'Checking System Requirements ...', 'comment'); } $this->checkPHPVersion(); $this->checkExtensions(); $this->showResults(); }
/** * Fire the install script. * * @param Command $command * * @return mixed */ public function fire(Command $command) { if ($command->option('verbose')) { $command->blockMessage('Themes', 'Publishing theme assets ...', 'comment'); } if ($command->option('verbose')) { $command->call('stylist:publish'); return; } $command->callSilent('stylist:publish'); }
/** * Fire the install script * @param Command $command * @return mixed */ public function fire(Command $command) { if ($command->option('verbose')) { $command->blockMessage('Seeds', 'Running the module seeds ...', 'comment'); } foreach ($this->modules as $module) { if ($command->option('verbose')) { $command->call('module:seed', ['module' => $module]); continue; } $command->callSilent('module:seed', ['module' => $module]); } }
/** * Fire the install script * @param Command $command * @return mixed */ public function fire(Command $command) { if ($command->option('verbose')) { $command->blockMessage('Module assets', 'Publishing module assets ...', 'comment'); } foreach ($this->modules as $module) { if ($command->option('verbose')) { $command->call('module:publish', ['module' => $module]); continue; } $command->callSilent('module:publish', ['module' => $module]); } }
/** * Fire the install script * @param Command $command * @return mixed */ public function fire(Command $command) { if ($command->option('verbose')) { $command->blockMessage('Migrations', 'Starting the module migrations ...', 'comment'); } foreach ($this->modules as $module) { if ($command->option('verbose')) { $command->call('module:migrate', ['module' => $module]); continue; } $command->callSilent('module:migrate', ['module' => $module]); } }
/** * Fire the install script * @param Command $command * @return mixed */ public function fire(Command $command) { $command->blockMessage('User Module', 'Starting the User Module setup...', 'comment'); $this->configure('Sentinel', $command); }