Ejemplo n.º 1
0
 /**
  * Moves the extracted app files in the supplied path
  *
  * @param string $path
  * @param ExtractionService $extractor
  */
 public function moveUpdate($path, ExtractionService $extractor)
 {
     \Artisan::call('down');
     $extractor->move($path);
     \Artisan::call('up');
 }
Ejemplo n.º 2
0
 /**
  * Empties the trash
  *
  * @param ExtractionService $extractor
  * @return Response
  */
 public function emptyTrash(ExtractionService $extractor)
 {
     $extractor->emptyTrash($extractor);
     return response()->json(['message' => trans('update.moving_files', ['part' => 2]), 'next' => route('reactor.update.move.vendor'), 'progress' => 70]);
 }