src/Transport.php
public function setUncompressor(\fpoirotte\Pssht\CompressionInterface $uncompressor)
    {
        if ($uncompressor->getMode() !== \fpoirotte\Pssht\CompressionInterface::MODE_UNCOMPRESS) {
            throw new \InvalidArgumentException();
        }

        $this->uncompressor = $uncompressor;
        return $this;
    }
public function setUncompressor(\fpoirotte\Pssht\CompressionInterface $uncompressor)
    {
        if ($uncompressor->getMode() !== \fpoirotte\Pssht\CompressionInterface::MODE_UNCOMPRESS) {
            throw new \InvalidArgumentException();
        }

        $this->uncompressor = $uncompressor;
        return $this;
    }
public function setUncompressor ( \ fpoirotte \ Pssht \ CompressionInterface $ uncompressor ) { if ( $ uncompressor -> getMode ( ) !== \ fpoirotte \ Pssht \ CompressionInterface :: MODE_UNCOMPRESS ) { throw new \ InvalidArgumentException ( ) ; } $ this -> uncompressor = $ uncompressor ; return $ this ; }
Set the object used to uncompress incoming packets.

\param fpoirotte::Pssht::CompressionInterface $uncompressor
Incoming packets' uncompressor.

\retval Transport
Return this transport layer.
Set the object used to uncompress incoming packets .