mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-26 04:21:27 +08:00
27 lines
532 B
PHP
27 lines
532 B
PHP
<?php
|
|
/**
|
|
* @copyright Copyright (c) 2021 深圳市酷瓜软件有限公司
|
|
* @license https://opensource.org/licenses/GPL-2.0
|
|
* @link https://www.koogua.com
|
|
*/
|
|
|
|
namespace App\Listeners;
|
|
|
|
use App\Services\Service as AppService;
|
|
use App\Traits\Service as ServiceTrait;
|
|
use Phalcon\Mvc\User\Plugin as UserPlugin;
|
|
|
|
class Listener extends UserPlugin
|
|
{
|
|
|
|
use ServiceTrait;
|
|
|
|
public function getLogger($channel = 'listen')
|
|
{
|
|
$appService = new AppService();
|
|
|
|
return $appService->getLogger($channel);
|
|
}
|
|
|
|
}
|