Repo for the search and displace core module including the interface to select files and search and displace operations to run on them. https://searchanddisplace.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
412 B

  1. <?php
  2. namespace App\Http\Controllers;
  3. use App\SearchDisplace\Searchers\SearchersCollection;
  4. use Illuminate\View\View;
  5. use Illuminate\Contracts\View\Factory;
  6. class HomeController extends Controller
  7. {
  8. /**
  9. *
  10. * @return View|Factory
  11. */
  12. public function index(): View
  13. {
  14. return view('pages.home', [
  15. 'searchers' => (new SearchersCollection())->all(),
  16. ]);
  17. }
  18. }