add new file
This commit is contained in:
parent
90d3f62239
commit
d4c52f7dc7
20
src/SQLEventServiceProvider.php
Normal file
20
src/SQLEventServiceProvider.php
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Arch;
|
||||||
|
|
||||||
|
use Laravel\Lumen\Providers\EventServiceProvider as ServiceProvider;
|
||||||
|
|
||||||
|
class SQLEventServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The event listener mappings for the application.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $listen = [
|
||||||
|
'Illuminate\Database\Events\QueryExecuted' => [
|
||||||
|
'Arch\Listeners\QueryListener',
|
||||||
|
]
|
||||||
|
];
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user