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.

29 lines
463 B

  1. <?php
  2. namespace App\Listeners;
  3. use App\SearchDisplace\SearchAndDisplaceFromFiles;
  4. class RunSearchAndDisplaceOnDocument
  5. {
  6. /**
  7. * Create the event listener.
  8. *
  9. * @return void
  10. */
  11. public function __construct()
  12. {
  13. //
  14. }
  15. /**
  16. * Handle the event.
  17. *
  18. * @param $event
  19. * @return void
  20. */
  21. public function handle($event)
  22. {
  23. (new SearchAndDisplaceFromFiles($event->id))->execute();
  24. }
  25. }