1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-30 17:19:50 +02:00

Add doc blocks

This commit is contained in:
Oliver Vogel
2024-01-10 11:56:38 +01:00
parent 30ed4a649c
commit 533278c9ea

View File

@@ -12,8 +12,25 @@ abstract class AbstractEncoder implements EncoderInterface
public const DEFAULT_COMPRESSION = 0;
public const DEFAULT_BIT_DEPTH = 8;
/**
* Target quality of encoder
*
* @param int $quality
*/
public int $quality = self::DEFAULT_QUALITY;
/**
* Compression type of encoder
*
* @param int $compression
*/
public int $compression = self::DEFAULT_COMPRESSION;
/**
* Bit depth per channel at which the images are encoded
*
* @param int $bitDepth
*/
public int $bitDepth = self::DEFAULT_BIT_DEPTH;
/**