fly %!s(int64=4) %!d(string=hai) anos
pai
achega
08d0c9b812
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/Controllers/BaseControllerConfig.php

+ 3 - 0
src/Controllers/BaseControllerConfig.php

@@ -52,6 +52,9 @@ trait BaseControllerConfig
                 case 'phone':
                     $this->field[$name] = $this->getLogPhone();
                     break;
+                default:
+                    $this->field[$name] = $this->$name();
+                    break;
             }
         }
         return $this->field[$name];