增加接口类 规范驱动扩展

This commit is contained in:
thinkphp
2016-05-05 07:39:05 +08:00
parent 3774e3451a
commit 7a8bb3b54f
33 changed files with 237 additions and 64 deletions

View File

@@ -28,7 +28,7 @@ class Oracle extends Connection
* @param array $config 连接信息
* @return string
*/
protected function parseDsn($config)
public function parseDsn($config)
{
$dsn = 'oci:dbname=';
if (!empty($config['hostname'])) {
@@ -139,11 +139,11 @@ class Oracle extends Connection
/**
* SQL性能分析
* @access protected
* @access public
* @param string $sql
* @return array
*/
protected function getExplain($sql)
public function getExplain($sql)
{
return [];
}