laravel eloquent table name code example
Example 1: laravel model tablename
protected $table = 'DomainRelatedSettings';
Example 2: get table name from model laravel
$item = new Item;
$table = $item->getTable();
print_r($table);
protected $table = 'DomainRelatedSettings';
$item = new Item;
$table = $item->getTable();
print_r($table);