Commit 9ad211b0 authored by tufengqi's avatar tufengqi

rename file name

parent b5343c93
...@@ -17,6 +17,8 @@ class DefaultBaseImpl ...@@ -17,6 +17,8 @@ class DefaultBaseImpl
} }
public static function checkTable($db_name, $table_name) public static function checkTable($db_name, $table_name)
{ {
var_dump($db_name, $table_name);
exit;
if (!isset(TableConstant::$table_list[$db_name . TableConstant::CONNECTOR_TAG . $table_name])) { if (!isset(TableConstant::$table_list[$db_name . TableConstant::CONNECTOR_TAG . $table_name])) {
throw new \Exception('hash table is not defined'); throw new \Exception('hash table is not defined');
} }
......
...@@ -4,7 +4,7 @@ namespace fpf\cache; ...@@ -4,7 +4,7 @@ namespace fpf\cache;
use fpf\cache\DefaultBaseImpl; use fpf\cache\DefaultBaseImpl;
use Yii; use Yii;
trait YiiTraitHashTable trait TraitYiiHashTable
{ {
public static function getHashTable($db_name, $table_name) public static function getHashTable($db_name, $table_name)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment