/** * @return array */ public static function getHttpArgs() { if (is_null(self::$input)) { $json = file_get_contents('php://input'); $result = CJSON::decode($json, true); self::$input = $result; } return self::$input; }