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
+15 -1
View File
@@ -88,7 +88,21 @@ 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
*