21 lines
488 B
PHP
21 lines
488 B
PHP
<?php
|
|
|
|
namespace App\Tables;
|
|
|
|
use App\Models\Product;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Mmt\GenericTable\Components\ColumnCollection;
|
|
use Mmt\GenericTable\Interfaces\IGenericTable;
|
|
use Mmt\GenericTable\Support\GenericTableSettings;
|
|
|
|
class TableWithnNoSettings implements IGenericTable
|
|
{
|
|
public GenericTableSettings $tableSettings;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->tableSettings = new GenericTableSettings(
|
|
Product::class
|
|
);
|
|
}
|
|
} |