public function __call($method, $args) { $filter = new UnderscoreToCamelCase(); $method = lcfirst($filter->filter($method)); if (method_exists($this, $method)) { return call_user_func_array(array($this, $method), $args); } }