get collection

This commit is contained in:
Kavalar 2025-01-27 13:37:36 +03:00
parent 7cdbff5ce9
commit e5b3267762

View File

@ -1,6 +1,7 @@
<?php
namespace Itguild\EloquentTable;
use Exception;
use Itguild\Tables\ListJsonTable;
use JetBrains\PhpStorm\NoReturn;
@ -19,4 +20,9 @@ class ListEloquentTable extends ListJsonTable
$this->dataProvider = $dataProvider;
parent::__construct($this->dataProvider->getJson());
}
public function getCollection()
{
return $this->dataProvider->getCollection();
}
}