初始化仓库
This commit is contained in:
20
vendor/topthink/framework/src/think/event/AppInit.php
vendored
Normal file
20
vendor/topthink/framework/src/think/event/AppInit.php
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006~2023 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;
|
||||
|
||||
/**
|
||||
* AppInit事件类
|
||||
*/
|
||||
class AppInit
|
||||
{
|
||||
}
|
||||
20
vendor/topthink/framework/src/think/event/HttpEnd.php
vendored
Normal file
20
vendor/topthink/framework/src/think/event/HttpEnd.php
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006~2023 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;
|
||||
|
||||
/**
|
||||
* HttpEnd事件类
|
||||
*/
|
||||
class HttpEnd
|
||||
{
|
||||
}
|
||||
20
vendor/topthink/framework/src/think/event/HttpRun.php
vendored
Normal file
20
vendor/topthink/framework/src/think/event/HttpRun.php
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006~2023 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;
|
||||
|
||||
/**
|
||||
* HttpRun事件类
|
||||
*/
|
||||
class HttpRun
|
||||
{
|
||||
}
|
||||
29
vendor/topthink/framework/src/think/event/LogRecord.php
vendored
Normal file
29
vendor/topthink/framework/src/think/event/LogRecord.php
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: yunwuxin <448901948@qq.com>
|
||||
// +----------------------------------------------------------------------
|
||||
namespace think\event;
|
||||
|
||||
/**
|
||||
* LogRecord事件类
|
||||
*/
|
||||
class LogRecord
|
||||
{
|
||||
/** @var string */
|
||||
public $type;
|
||||
|
||||
/** @var string */
|
||||
public $message;
|
||||
|
||||
public function __construct($type, $message)
|
||||
{
|
||||
$this->type = $type;
|
||||
$this->message = $message;
|
||||
}
|
||||
}
|
||||
23
vendor/topthink/framework/src/think/event/LogWrite.php
vendored
Normal file
23
vendor/topthink/framework/src/think/event/LogWrite.php
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006~2023 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
|
||||
{
|
||||
public function __construct(public string $channel, public array $log)
|
||||
{
|
||||
}
|
||||
}
|
||||
20
vendor/topthink/framework/src/think/event/RouteLoaded.php
vendored
Normal file
20
vendor/topthink/framework/src/think/event/RouteLoaded.php
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: yunwuxin <448901948@qq.com>
|
||||
// +----------------------------------------------------------------------
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace think\event;
|
||||
|
||||
/**
|
||||
* 路由加载完成事件
|
||||
*/
|
||||
class RouteLoaded
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user