From fd483bbc6992c27e608ed7da3688973552f1a46c Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 14 Jan 2025 16:03:33 +0800 Subject: [PATCH] =?UTF-8?q?readme=E5=92=8C=E6=B3=A8=E9=87=8A=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 ++++--- src/DbManager.php | 2 +- src/Entity.php | 12 +++++++----- src/Model.php | 2 +- src/Paginator.php | 2 +- src/db/BaseBuilder.php | 2 +- src/db/BaseQuery.php | 2 +- src/db/Builder.php | 2 +- src/db/CacheItem.php | 2 +- src/db/Connection.php | 2 +- src/db/ConnectionInterface.php | 2 +- src/db/Express.php | 2 +- src/db/Fetch.php | 2 +- src/db/Mongo.php | 2 ++ src/db/PDOConnection.php | 2 +- src/db/Query.php | 2 +- src/db/Raw.php | 2 +- src/db/Where.php | 2 +- src/db/builder/Mysql.php | 2 +- src/db/builder/Pgsql.php | 2 +- src/db/builder/Sqlite.php | 2 +- src/db/concern/AggregateQuery.php | 2 +- src/db/concern/JoinAndViewQuery.php | 2 +- src/db/concern/ModelRelationQuery.php | 2 +- src/db/concern/ParamsBind.php | 2 +- src/db/concern/ResultOperation.php | 2 +- src/db/concern/TableFieldInfo.php | 2 +- src/db/concern/TimeFieldQuery.php | 2 +- src/db/concern/Transaction.php | 2 +- src/db/concern/WhereQuery.php | 2 +- src/db/connector/Mysql.php | 2 +- src/db/connector/Pgsql.php | 2 +- src/db/connector/Sqlite.php | 2 +- src/db/exception/BindParamException.php | 2 +- src/db/exception/DataNotFoundException.php | 2 +- src/db/exception/DbException.php | 2 +- src/db/exception/DuplicateException.php | 2 +- src/db/exception/ModelNotFoundException.php | 2 +- src/db/exception/PDOException.php | 2 +- src/entity/Simple.php | 2 +- src/entity/View.php | 2 +- src/entity/Virtual.php | 2 +- src/facade/Db.php | 2 +- src/helper.php | 2 +- src/model/Collection.php | 2 +- src/model/Pivot.php | 2 +- src/model/Relation.php | 2 +- src/model/concern/Attribute.php | 2 +- src/model/concern/AutoWriteId.php | 2 +- src/model/concern/Conversion.php | 2 +- src/model/concern/ModelEvent.php | 2 +- src/model/concern/OptimLock.php | 2 +- src/model/concern/RelationShip.php | 2 +- src/model/concern/SoftDelete.php | 2 +- src/model/concern/TimeStamp.php | 2 +- src/model/concern/Virtual.php | 2 +- src/model/relation/BelongsTo.php | 2 +- src/model/relation/BelongsToMany.php | 2 +- src/model/relation/HasMany.php | 2 +- src/model/relation/HasManyThrough.php | 2 +- src/model/relation/HasOne.php | 2 +- src/model/relation/HasOneThrough.php | 2 +- src/model/relation/MorphMany.php | 2 +- src/model/relation/MorphOne.php | 2 +- src/model/relation/MorphTo.php | 2 +- src/model/relation/MorphToMany.php | 2 +- src/model/relation/OneToOne.php | 2 +- src/paginator/driver/Bootstrap.php | 2 +- 68 files changed, 78 insertions(+), 73 deletions(-) diff --git a/README.md b/README.md index 42520e05..7ec16463 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ -# ThinkORM +# ThinkORM4.0 基于PHP8.0+ 和PDO实现的ORM。 +- 模型分层设计 - 引入实体模型 -- 视图模型 -- 虚拟模型 +- 引入视图模型 +- 完全兼容3.0版本 ## 安装 diff --git a/src/DbManager.php b/src/DbManager.php index d95a1d44..7a6f6824 100644 --- a/src/DbManager.php +++ b/src/DbManager.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/Entity.php b/src/Entity.php index da80a47c..d573aad2 100644 --- a/src/Entity.php +++ b/src/Entity.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- @@ -657,12 +657,13 @@ public function mapping(array $map) * * @param string $field 字段名 * @param float $step 增长值 + * @param int $lazyTime 延迟时间(秒) * * @return $this */ - public function inc(string $field, float $step = 1) + public function inc(string $field, float $step = 1, int $lazyTime = 0) { - return $this->set($field, new Express('+', $step)); + return $this->set($field, new Express('+', $step, $lazyTime)); } /** @@ -670,12 +671,13 @@ public function inc(string $field, float $step = 1) * * @param string $field 字段名 * @param float $step 增长值 + * @param int $lazyTime 延迟时间(秒) * * @return $this */ - public function dec(string $field, float $step = 1) + public function dec(string $field, float $step = 1, int $lazyTime = 0) { - return $this->set($field, new Express('-', $step)); + return $this->set($field, new Express('-', $step, $lazyTime)); } /** diff --git a/src/Model.php b/src/Model.php index bb01e9f7..dccb2a8e 100644 --- a/src/Model.php +++ b/src/Model.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/Paginator.php b/src/Paginator.php index 124de5f7..c0b72c4d 100644 --- a/src/Paginator.php +++ b/src/Paginator.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/BaseBuilder.php b/src/db/BaseBuilder.php index 28b957e9..7a246239 100644 --- a/src/db/BaseBuilder.php +++ b/src/db/BaseBuilder.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/BaseQuery.php b/src/db/BaseQuery.php index fdc3eec0..0970f291 100644 --- a/src/db/BaseQuery.php +++ b/src/db/BaseQuery.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/Builder.php b/src/db/Builder.php index 44862bb5..0a1dc733 100644 --- a/src/db/Builder.php +++ b/src/db/Builder.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/CacheItem.php b/src/db/CacheItem.php index 0878d4e3..85dd4c8c 100644 --- a/src/db/CacheItem.php +++ b/src/db/CacheItem.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/Connection.php b/src/db/Connection.php index 5a5217be..9a2f5408 100644 --- a/src/db/Connection.php +++ b/src/db/Connection.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/ConnectionInterface.php b/src/db/ConnectionInterface.php index fcd27a72..53fd6086 100644 --- a/src/db/ConnectionInterface.php +++ b/src/db/ConnectionInterface.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/Express.php b/src/db/Express.php index 2c8f75d3..82eb87dd 100644 --- a/src/db/Express.php +++ b/src/db/Express.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/Fetch.php b/src/db/Fetch.php index 15388af4..d54db16b 100644 --- a/src/db/Fetch.php +++ b/src/db/Fetch.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/Mongo.php b/src/db/Mongo.php index c03e4bf0..e99ccf1e 100644 --- a/src/db/Mongo.php +++ b/src/db/Mongo.php @@ -3,6 +3,8 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. +// +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- // | Author: liu21st diff --git a/src/db/PDOConnection.php b/src/db/PDOConnection.php index cd87408f..1971d263 100644 --- a/src/db/PDOConnection.php +++ b/src/db/PDOConnection.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/Query.php b/src/db/Query.php index 45d258c8..3940ffc3 100644 --- a/src/db/Query.php +++ b/src/db/Query.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/Raw.php b/src/db/Raw.php index 51a22a16..ba28d298 100644 --- a/src/db/Raw.php +++ b/src/db/Raw.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/Where.php b/src/db/Where.php index af0783da..aab7b6b8 100644 --- a/src/db/Where.php +++ b/src/db/Where.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/builder/Mysql.php b/src/db/builder/Mysql.php index 4e17afb4..9e5e9637 100644 --- a/src/db/builder/Mysql.php +++ b/src/db/builder/Mysql.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/builder/Pgsql.php b/src/db/builder/Pgsql.php index 384deca3..744ae750 100644 --- a/src/db/builder/Pgsql.php +++ b/src/db/builder/Pgsql.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/builder/Sqlite.php b/src/db/builder/Sqlite.php index af21e7de..a3e8c7d2 100644 --- a/src/db/builder/Sqlite.php +++ b/src/db/builder/Sqlite.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/concern/AggregateQuery.php b/src/db/concern/AggregateQuery.php index e4c4efd1..02fdb4a2 100644 --- a/src/db/concern/AggregateQuery.php +++ b/src/db/concern/AggregateQuery.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/concern/JoinAndViewQuery.php b/src/db/concern/JoinAndViewQuery.php index 51b57d5b..e93f49c7 100644 --- a/src/db/concern/JoinAndViewQuery.php +++ b/src/db/concern/JoinAndViewQuery.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/concern/ModelRelationQuery.php b/src/db/concern/ModelRelationQuery.php index 288ab22d..50a56005 100644 --- a/src/db/concern/ModelRelationQuery.php +++ b/src/db/concern/ModelRelationQuery.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/concern/ParamsBind.php b/src/db/concern/ParamsBind.php index 517f432a..2eab2c21 100644 --- a/src/db/concern/ParamsBind.php +++ b/src/db/concern/ParamsBind.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/concern/ResultOperation.php b/src/db/concern/ResultOperation.php index 77ac1547..3aab7884 100644 --- a/src/db/concern/ResultOperation.php +++ b/src/db/concern/ResultOperation.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/concern/TableFieldInfo.php b/src/db/concern/TableFieldInfo.php index 9fac514d..04110db9 100644 --- a/src/db/concern/TableFieldInfo.php +++ b/src/db/concern/TableFieldInfo.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/concern/TimeFieldQuery.php b/src/db/concern/TimeFieldQuery.php index d212e474..cbd3d236 100644 --- a/src/db/concern/TimeFieldQuery.php +++ b/src/db/concern/TimeFieldQuery.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/concern/Transaction.php b/src/db/concern/Transaction.php index 3aa82deb..4c2c4210 100644 --- a/src/db/concern/Transaction.php +++ b/src/db/concern/Transaction.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/concern/WhereQuery.php b/src/db/concern/WhereQuery.php index 398910a2..a366fc16 100644 --- a/src/db/concern/WhereQuery.php +++ b/src/db/concern/WhereQuery.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/connector/Mysql.php b/src/db/connector/Mysql.php index f18da995..7cded95e 100644 --- a/src/db/connector/Mysql.php +++ b/src/db/connector/Mysql.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/connector/Pgsql.php b/src/db/connector/Pgsql.php index 023a886f..f1d40f02 100644 --- a/src/db/connector/Pgsql.php +++ b/src/db/connector/Pgsql.php @@ -2,7 +2,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/connector/Sqlite.php b/src/db/connector/Sqlite.php index 5a429a34..745bdc76 100644 --- a/src/db/connector/Sqlite.php +++ b/src/db/connector/Sqlite.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/exception/BindParamException.php b/src/db/exception/BindParamException.php index b5faa67a..5bad9b33 100644 --- a/src/db/exception/BindParamException.php +++ b/src/db/exception/BindParamException.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/exception/DataNotFoundException.php b/src/db/exception/DataNotFoundException.php index f91cb98b..43f493e5 100644 --- a/src/db/exception/DataNotFoundException.php +++ b/src/db/exception/DataNotFoundException.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/exception/DbException.php b/src/db/exception/DbException.php index 40b8443e..25553823 100644 --- a/src/db/exception/DbException.php +++ b/src/db/exception/DbException.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/exception/DuplicateException.php b/src/db/exception/DuplicateException.php index 2260907c..c642f2ca 100644 --- a/src/db/exception/DuplicateException.php +++ b/src/db/exception/DuplicateException.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/exception/ModelNotFoundException.php b/src/db/exception/ModelNotFoundException.php index 514b9081..f6c19c9d 100644 --- a/src/db/exception/ModelNotFoundException.php +++ b/src/db/exception/ModelNotFoundException.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/db/exception/PDOException.php b/src/db/exception/PDOException.php index 247e6a78..72c0b139 100644 --- a/src/db/exception/PDOException.php +++ b/src/db/exception/PDOException.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/entity/Simple.php b/src/entity/Simple.php index 26c3acb3..31d5123c 100644 --- a/src/entity/Simple.php +++ b/src/entity/Simple.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/entity/View.php b/src/entity/View.php index 15091e4c..56682acf 100644 --- a/src/entity/View.php +++ b/src/entity/View.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/entity/Virtual.php b/src/entity/Virtual.php index 88f2a867..e4728b55 100644 --- a/src/entity/Virtual.php +++ b/src/entity/Virtual.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/facade/Db.php b/src/facade/Db.php index e75bf535..fd50e498 100644 --- a/src/facade/Db.php +++ b/src/facade/Db.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/helper.php b/src/helper.php index 7e2e77c7..bb0ca020 100644 --- a/src/helper.php +++ b/src/helper.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/Collection.php b/src/model/Collection.php index 2efa6ab9..f8886d24 100644 --- a/src/model/Collection.php +++ b/src/model/Collection.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/Pivot.php b/src/model/Pivot.php index 05fadb66..97c7755f 100644 --- a/src/model/Pivot.php +++ b/src/model/Pivot.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/Relation.php b/src/model/Relation.php index 1e24e62e..30343d77 100644 --- a/src/model/Relation.php +++ b/src/model/Relation.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/concern/Attribute.php b/src/model/concern/Attribute.php index ece0ce77..f869ed48 100644 --- a/src/model/concern/Attribute.php +++ b/src/model/concern/Attribute.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/concern/AutoWriteId.php b/src/model/concern/AutoWriteId.php index ab56354d..e2783f30 100644 --- a/src/model/concern/AutoWriteId.php +++ b/src/model/concern/AutoWriteId.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/concern/Conversion.php b/src/model/concern/Conversion.php index 31af0756..00862aab 100644 --- a/src/model/concern/Conversion.php +++ b/src/model/concern/Conversion.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/concern/ModelEvent.php b/src/model/concern/ModelEvent.php index 2f5373d8..7134cd34 100644 --- a/src/model/concern/ModelEvent.php +++ b/src/model/concern/ModelEvent.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/concern/OptimLock.php b/src/model/concern/OptimLock.php index dcf1ab3b..a75100c3 100644 --- a/src/model/concern/OptimLock.php +++ b/src/model/concern/OptimLock.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/concern/RelationShip.php b/src/model/concern/RelationShip.php index 46365148..9eb07fb7 100644 --- a/src/model/concern/RelationShip.php +++ b/src/model/concern/RelationShip.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/concern/SoftDelete.php b/src/model/concern/SoftDelete.php index 7f1773e6..a31bbe08 100644 --- a/src/model/concern/SoftDelete.php +++ b/src/model/concern/SoftDelete.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/concern/TimeStamp.php b/src/model/concern/TimeStamp.php index 8218bcf3..07bf68d7 100644 --- a/src/model/concern/TimeStamp.php +++ b/src/model/concern/TimeStamp.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/concern/Virtual.php b/src/model/concern/Virtual.php index 0fbe1041..ff19ca79 100644 --- a/src/model/concern/Virtual.php +++ b/src/model/concern/Virtual.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/relation/BelongsTo.php b/src/model/relation/BelongsTo.php index 6dbc7062..128917ee 100644 --- a/src/model/relation/BelongsTo.php +++ b/src/model/relation/BelongsTo.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/relation/BelongsToMany.php b/src/model/relation/BelongsToMany.php index 51f48096..b1f8a7d4 100644 --- a/src/model/relation/BelongsToMany.php +++ b/src/model/relation/BelongsToMany.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/relation/HasMany.php b/src/model/relation/HasMany.php index fdf11d95..86daafcd 100644 --- a/src/model/relation/HasMany.php +++ b/src/model/relation/HasMany.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/relation/HasManyThrough.php b/src/model/relation/HasManyThrough.php index 14e10ca7..7b47e9c7 100644 --- a/src/model/relation/HasManyThrough.php +++ b/src/model/relation/HasManyThrough.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/relation/HasOne.php b/src/model/relation/HasOne.php index 8bea0109..0d72d94e 100644 --- a/src/model/relation/HasOne.php +++ b/src/model/relation/HasOne.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/relation/HasOneThrough.php b/src/model/relation/HasOneThrough.php index 59b6cdd8..2f126c49 100644 --- a/src/model/relation/HasOneThrough.php +++ b/src/model/relation/HasOneThrough.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/relation/MorphMany.php b/src/model/relation/MorphMany.php index b8c73647..a889aa39 100644 --- a/src/model/relation/MorphMany.php +++ b/src/model/relation/MorphMany.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/relation/MorphOne.php b/src/model/relation/MorphOne.php index 8b597f09..1c339708 100644 --- a/src/model/relation/MorphOne.php +++ b/src/model/relation/MorphOne.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/relation/MorphTo.php b/src/model/relation/MorphTo.php index 262daef9..490a34b1 100644 --- a/src/model/relation/MorphTo.php +++ b/src/model/relation/MorphTo.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/relation/MorphToMany.php b/src/model/relation/MorphToMany.php index 785342a7..6b4c3a33 100644 --- a/src/model/relation/MorphToMany.php +++ b/src/model/relation/MorphToMany.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/model/relation/OneToOne.php b/src/model/relation/OneToOne.php index fd4392c2..d3bcea45 100644 --- a/src/model/relation/OneToOne.php +++ b/src/model/relation/OneToOne.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- diff --git a/src/paginator/driver/Bootstrap.php b/src/paginator/driver/Bootstrap.php index dec1275a..a8b95416 100644 --- a/src/paginator/driver/Bootstrap.php +++ b/src/paginator/driver/Bootstrap.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- -// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved. +// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +----------------------------------------------------------------------