Answers for "model with table name in laravel"

PHP
4

laravel model tablename

protected $table = 'DomainRelatedSettings';
Posted by: Guest on January-07-2021
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 "model with table name in laravel"

Browse Popular Code Answers by Language