Skip to content

Commit 5267a64

Browse files
committed
fix: getPrefix() method doesn't exist in Model class
1 parent 1954878 commit 5267a64

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Model.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,11 @@ public function getTable()
272272
return $this->table;
273273
}
274274

275+
public function getPrefix()
276+
{
277+
return $this->prefix === '' ? Connection::getPrefix() : $this->prefix;
278+
}
279+
275280
public function getTableWithoutPrefix()
276281
{
277282
return $this->_tableWithoutPrefix;

0 commit comments

Comments
 (0)