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.

23 lines
491 B

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