Files
generic_table_examples/app/Tables/TableWithnNoSettings.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
);
}
}