From e5b3267762856b4fc4030654dc950e3e040501c3 Mon Sep 17 00:00:00 2001 From: Kavalar Date: Mon, 27 Jan 2025 13:37:36 +0300 Subject: [PATCH] get collection --- src/ListEloquentTable.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ListEloquentTable.php b/src/ListEloquentTable.php index 79f8bbc..a47b74b 100644 --- a/src/ListEloquentTable.php +++ b/src/ListEloquentTable.php @@ -1,6 +1,7 @@ dataProvider = $dataProvider; parent::__construct($this->dataProvider->getJson()); } + + public function getCollection() + { + return $this->dataProvider->getCollection(); + } } \ No newline at end of file