/** * Execute the console command. * * @return void */ public function fire() { $counter = $this->manager->findTranslations(); $this->info('Done importing, processed ' . $counter . ' items!'); }
public function postFind() { $numFound = $this->manager->findTranslations(); return ['status' => 'ok', 'counter' => (int) $numFound]; }
public function postFind() { $numFound = $this->manager->findTranslations(); return Response::json(array('status' => 'ok', 'counter' => (int) $numFound)); }