public function __call($method, $args)
{
if (!method_exists($this->table, $method)) {
throw new \BadMethodCallException(sprintf('Undefined method call "%s::%s"', get_class($this->table), $method));
}
return call_user_func_array([$this->table, $method], $args);
}