46 lines
1.3 KiB
PHP
46 lines
1.3 KiB
PHP
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
|
|
// +----------------------------------------------------------------------
|
|
// | Copyright (c) 2024 http://www.tensent.cn All rights reserved.
|
|
// +----------------------------------------------------------------------
|
|
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
|
|
// +----------------------------------------------------------------------
|
|
namespace Modules\Wechat\Providers;
|
|
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* The event handler mappings for the application.
|
|
*
|
|
* @var array<string, array<int, string>>
|
|
*/
|
|
protected $listen = [
|
|
// 'Modules\Member\Events\LoginEvent' => [
|
|
// 'Modules\Wechat\Listeners\LoginBind',
|
|
// ],
|
|
// 'Modules\Member\Events\Registered' => [
|
|
// 'Modules\Wechat\Listeners\RegisterBind',
|
|
// ],
|
|
];
|
|
|
|
/**
|
|
* Indicates if events should be discovered.
|
|
*
|
|
* @var bool
|
|
*/
|
|
protected static $shouldDiscoverEvents = true;
|
|
|
|
/**
|
|
* Configure the proper event listeners for email verification.
|
|
*
|
|
* @return void
|
|
*/
|
|
protected function configureEmailVerification(): void
|
|
{
|
|
|
|
}
|
|
}
|