/** * Log all calls */ function __call($method, $args) { echo "{$method}: "; JsonResponse::writeJson($args); }