Example #1
0
 /**
  * Print the latest one
  *
  * @param  int                    $current Current version
  * @param  \Bootigniter\Console $command
  * @return \Bootigniter\Console
  */
 private function print_latest($current, $command)
 {
     return $command->out(sprintf(Console::lang('console_migration_label_latest'), '<green>' . $current . '</green>'));
 }
Example #2
0
 /**
  * Setup for NginX
  *
  * @param  Bootigniter\Console $command CLI instance
  * @return Bootigniter\Console
  */
 protected function setup_nginx(Console $command)
 {
     return $command->out(Console::lang('console_install_nginx_ready'));
 }