From 4c30e3be34b7449c9585e767ac13b5c81d571732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sun, 7 May 2023 01:17:45 +0200 Subject: [PATCH] [debug] --- src/PersistentData/Model/Model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PersistentData/Model/Model.php b/src/PersistentData/Model/Model.php index c5f566c..6f824f6 100644 --- a/src/PersistentData/Model/Model.php +++ b/src/PersistentData/Model/Model.php @@ -42,6 +42,8 @@ abstract class Model $array = []; foreach (static::getFields() as $key) { + var_dump($key); + $method = 'get' . str_replace('_', '', ucwords($key, '_')); if (method_exists($this, $method)) {