This commit is contained in:
Bence Pőcze 2023-05-07 01:17:45 +02:00
parent 45c4206686
commit 4c30e3be34
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

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