Is there a way that I can get the current database table in use by the model that I\'m in? I see that there is a table() function in Laravel/Database/Eloquent/model.php but
There is a public getTable() method defined in Eloquent\Model so you should be able to use $model->getTable().
$model->getTable()