1 # static string http\Encoding\Stream\Enbrotli::encode(string $data[, int $flags = 0])
3 Encode data with brotli encoding.
9 * Optional int $flags = 0
10 Any compression tuning flags. See http\Encoding\Stream\Enbrotli and http\Encoding\Stream constants.
14 * string, the compressed data.
18 * If $data cannot be encoded.