Init
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Traits;
|
||||
|
||||
trait HasTableName
|
||||
{
|
||||
public static function tableName(): string
|
||||
{
|
||||
return (new static)->getTable();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user