From 976fd907d114c2d8874a99aef98942af63f6edab Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Wed, 22 Nov 2023 12:55:09 +0000 Subject: [PATCH] Add getBarsArray methods in the Model interface --- VERSION | 2 +- src/Model.php | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 815e68d..3e3c2f1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.8 +2.1.1 diff --git a/src/Model.php b/src/Model.php index 42844d4..8d410fd 100644 --- a/src/Model.php +++ b/src/Model.php @@ -165,4 +165,18 @@ public function getGrid(string $space_char = '0', string $bar_char = '1'): strin * @return array> */ public function getGridArray(string $space_char = '0', string $bar_char = '1'): array; + + /** + * Get the array containing all the formatted bars coordinates + * + * @return array + */ + public function getBarsArrayXYXY(): array; + + /** + * Get the array containing all the formatted bars coordinates + * + * @return array + */ + public function getBarsArrayXYWH(): array; }