importTranslations() public method

public importTranslations ( $replace = false )
 public function postImport()
 {
     $replace = Input::get('replace', false);
     $counter = $this->manager->importTranslations($replace);
     return Response::json(array('status' => 'ok', 'counter' => $counter));
 }
 public function postImport(Request $request)
 {
     $replace = $request->get('replace', false);
     $counter = $this->manager->importTranslations($replace);
     return ['status' => 'ok', 'counter' => $counter];
 }
 /**
  * Execute the console command.
  *
  * @return void
  */
 public function fire()
 {
     $replace = $this->option('replace');
     $counter = $this->manager->importTranslations($replace);
     $this->info('Done importing, processed ' . $counter . ' items!');
 }