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)) {