From 05a49e32b50e85979f88c85b8dcc1e239b79a144 Mon Sep 17 00:00:00 2001 From: Bruno Morais Date: Thu, 22 Feb 2024 09:23:55 -0300 Subject: [PATCH] atualizacao do crudbuilder --- src/ModelAbstract.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ModelAbstract.php b/src/ModelAbstract.php index c2b57df..7bfeba7 100644 --- a/src/ModelAbstract.php +++ b/src/ModelAbstract.php @@ -18,7 +18,7 @@ #[\AllowDynamicProperties] abstract class ModelAbstract { - protected array $dataModelArray = []; + private array $dataModelArray = []; /** * @param array|null $params @@ -66,6 +66,13 @@ function __isset($isset) { return $result; } + /** + * @return array + */ + public function getDataModelArray():array { + return $this->dataModelArray; + } + /** * @param array $params * @return void