public function setCompression($comp = null) { $this->compression = null !== $comp ? (int) $comp : null; return $this; }