add
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006~2019 http://thinkphp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
declare (strict_types = 1);
|
||||
|
||||
namespace think\event;
|
||||
|
||||
/**
|
||||
* LogWrite事件类
|
||||
*/
|
||||
class LogWrite
|
||||
{
|
||||
/** @var string */
|
||||
public $channel;
|
||||
|
||||
/** @var array */
|
||||
public $log;
|
||||
|
||||
public function __construct($channel, $log)
|
||||
{
|
||||
$this->channel = $channel;
|
||||
$this->log = $log;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user