lithium\test\Fixtures::__callStatic()
Delegate calls to adapters
Parameters
-
string
$method
The called method name.
-
array
$params
The parameters array.
Returns
mixedSource
public static function __callStatic($method, $params) {
$name = array_shift($params);
if (($config = static::_config($name)) === null) {
throw new ConfigException("Configuration `{$name}` has not been defined.");
}
return call_user_func_array([static::adapter($name), $method], $params);
}