Searched refs:encodeFlags (Results 1 – 1 of 1) sorted by relevance
74 …* @param int $encodeFlags flags to pass to json encode, defaults to DEFAULT_JSON_F…79 …public static function jsonEncode($data, ?int $encodeFlags = null, bool $ignoreErrors = false): st… argument81 if (null === $encodeFlags) {82 $encodeFlags = self::DEFAULT_JSON_FLAGS;86 $json = @json_encode($data, $encodeFlags);94 $json = json_encode($data, $encodeFlags);112 …* @param int $encodeFlags flags to pass to json encode, defaults to JSON_UNESCAPED_…116 public static function handleJsonError(int $code, $data, ?int $encodeFlags = null): string argument130 if (null === $encodeFlags) {131 $encodeFlags = self::DEFAULT_JSON_FLAGS;[all …]