Answers for "how to get table name form database in laravel eloquent model"

PHP
1

get table name from model laravel

$item = new Item;
$table = $item->getTable();
print_r($table);
Posted by: Guest on October-11-2020

Code answers related to "how to get table name form database in laravel eloquent model"

Browse Popular Code Answers by Language