Skip to content

Commit

Permalink
Merge pull request #104 from utopia-php/feat-compression-type-constants
Browse files Browse the repository at this point in the history
PEA-38 Const compression types
  • Loading branch information
lohanidamodar authored Dec 31, 2023
2 parents 983e6de + 9c5de48 commit 130e7c4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Storage/Compression/Compression.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@

abstract class Compression
{
public const ZSTD = 'zstd';

public const GZIP = 'gzip';

public const BROTLI = 'brotli';

public const LZ4 = 'lz4';

public const SNAPPY = 'snappy';

public const XZ = 'xz';

/**
* Return the name of compression algorithm.
*
Expand Down

0 comments on commit 130e7c4

Please sign in to comment.