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