get collection
This commit is contained in:
parent
7cdbff5ce9
commit
e5b3267762
@ -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();
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user