Example #1
0
 /**
  * Serve Application.
  *
  * @return void
  */
 protected function serve($options = array())
 {
     if (!is_null($options) && in_array('outside', $options)) {
         return;
     } else {
         if ($this->console->confirm('Would you like to serve your application? [yes|no]')) {
             $this->console->call('serve');
         }
     }
 }
Example #2
0
 /**
  * Rollback all application and module migrations.
  *
  * @return void
  */
 protected function runRollbackMigrations($options)
 {
     $this->console->call('migrate:rollback', $options);
     $this->console->callsilent('appkit:migrate:rollback:module', $options);
 }