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
516 B

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