Answers for "laravel eloquent get table name from class name"

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 "laravel eloquent get table name from class name"

Browse Popular Code Answers by Language