From d184ba3c34af04fbb781dcf43db5e3d21bc8b033 Mon Sep 17 00:00:00 2001 From: Hadi Akbarzadeh Date: Sun, 10 Nov 2024 05:07:21 +0330 Subject: [PATCH] Added method props --- composer.json | 2 +- src/BuildifyTrait.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 3a1f03c..db12cdc 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "library", "helper", "support" ], "type": "library", - "version": "1.0.0", + "version": "1.0.1", "homepage": "https://github.com/nabeghe/buildify-php", "license": "MIT", "autoload": { diff --git a/src/BuildifyTrait.php b/src/BuildifyTrait.php index 7a60f26..d00cf5a 100644 --- a/src/BuildifyTrait.php +++ b/src/BuildifyTrait.php @@ -53,6 +53,11 @@ trait BuildifyTrait */ protected int $_refreshedCount = 0; + public function props(): array + { + return $this->_props; + } + public function refreshedCount(): int { return $this->_refreshedCount;