public function __call($method, $parameters) { // call_user_func_array($callback, $parameters); throw new \BadMethodCallException("Method [{$method}] does not exist."); }