added setExpectedException and check type Config
This commit is contained in:
@ -221,6 +221,18 @@ abstract class Model
|
||||
$cache_key->set($result);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// $debug = __CLASS__;
|
||||
$debug = get_class($this->query($sql, $params));
|
||||
|
||||
|
||||
// $debug = get_class_methods($this->query($sql, $params));
|
||||
|
||||
//$result = print_r($debug, true);
|
||||
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user