From ecb44c8cb0f999907e1eab65d60b53008bf21724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 27 Apr 2021 19:00:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/Base/BaseActiveRecord.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Database/Base/BaseActiveRecord.php b/Database/Base/BaseActiveRecord.php index 0de3ea6e..41fb90c1 100644 --- a/Database/Base/BaseActiveRecord.php +++ b/Database/Base/BaseActiveRecord.php @@ -844,6 +844,9 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess { $value = $this->_attributes[$name] ?? null; $method = $this->_get_annotation($name, static::GET); + + + var_dump($method); if (!empty($method)) { return $this->{$method}($value); }