Answers for "hot to get model name from table name in laarvel"

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 "hot to get model name from table name in laarvel"

Browse Popular Code Answers by Language