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.
 
 
 
 
 
 

49 lines
1.1 KiB

<?php
namespace App\Providers;
use App\Events\IngestDocumentReceived;
use App\Events\SDAppliedOnMarkdownDocument;
use App\Events\SDAppliedOnOriginalDocument;
use App\Events\SDFailedToApply;
use App\Listeners\AnalyzeOperationPerformance;
use App\Listeners\RunSearchAndDisplaceOnDocument;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
IngestDocumentReceived::class => [
RunSearchAndDisplaceOnDocument::class,
],
SDAppliedOnOriginalDocument::class => [
AnalyzeOperationPerformance::class,
],
SDAppliedOnMarkdownDocument::class => [
AnalyzeOperationPerformance::class,
],
SDFailedToApply::class => [
AnalyzeOperationPerformance::class,
],
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot()
{
parent::boot();
//
}
}