PHP Class Jose\Compression\GZip

This compression algorithm is not part of the specification.
Inheritance: implements Jose\Compression\CompressionInterface
Show file Open project: spomky-labs/jose

Protected Properties

Property Type Description
$compression_level integer

Public Methods

Method Description
__construct ( integer $compression_level ) Deflate constructor.
compress ( $data )
getMethodName ( )
uncompress ( $data )

Private Methods

Method Description
getCompressionLevel ( ) : integer

Method Details

__construct() public method

Deflate constructor.
public __construct ( integer $compression_level )
$compression_level integer

compress() public method

public compress ( $data )

getMethodName() public method

public getMethodName ( )

uncompress() public method

public uncompress ( $data )

Property Details

$compression_level protected property

protected int $compression_level
return integer