Skip to content

Commit 0bf6a65

Browse files
author
Socola Đại Ca
committed
add static function getTableName()
1 parent d5036af commit 0bf6a65

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: src/HasTablePrefix.php

+5
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,9 @@ public function setTable($table)
5353

5454
return $this;
5555
}
56+
57+
public static function getTableName()
58+
{
59+
return with(new static())->getTable();
60+
}
5661
}

0 commit comments

Comments
 (0)