add new file

This commit is contained in:
候学杰 2018-05-17 21:01:14 +08:00
parent 90d3f62239
commit d4c52f7dc7

View 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',
]
];
}