Laravel Model TableName
protected $table = 'DomainRelatedSettings';
Asif Patel
protected $table = 'DomainRelatedSettings';
public $table = "dpl_user";
protected $fillable = [ 'user_id', 'fname', 'lname', 'email', 'phone', 'msg'];
$item = new Item;
$table = $item->getTable();
print_r($table);
$flight = App\Models\Flight::find(1);
$flight->name = 'New Flight Name';
$flight->save();