public static function __callStatic($method, $args)
{
$instance = static::instance();
$adapter = $instance->getAdapter();
if (!method_exists($adapter, $method)) {
throw new \BadMethodCallException("Method {$method} does not exist.");
}
return call_user_func_array(array($adapter, $method), $args);
}