Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
e5b3267762 |
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Itguild\EloquentTable;
|
namespace Itguild\EloquentTable;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use Itguild\Tables\ListJsonTable;
|
use Itguild\Tables\ListJsonTable;
|
||||||
use JetBrains\PhpStorm\NoReturn;
|
use JetBrains\PhpStorm\NoReturn;
|
||||||
@ -19,4 +20,9 @@ class ListEloquentTable extends ListJsonTable
|
|||||||
$this->dataProvider = $dataProvider;
|
$this->dataProvider = $dataProvider;
|
||||||
parent::__construct($this->dataProvider->getJson());
|
parent::__construct($this->dataProvider->getJson());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getCollection()
|
||||||
|
{
|
||||||
|
return $this->dataProvider->getCollection();
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user