Update 'src/DDLWrapper/Db/Adapter/PdoAdapter.php'

This commit is contained in:
ahwelp
2019-03-12 06:32:16 +00:00
parent c277f2128e
commit d87d913c29
+14
View File
@@ -89,6 +89,20 @@ abstract class PdoAdapter implements AdapterInterface
return $this->connection;
}
/**
* Gets the table prefix
*
* @return \PDO
*/
public function getTablePrefix()
{
if(isset($this->connection->prefix)){
return $this->connection->prefix;
}
return '';
}
/**
* Sets the command start time
*