getPacked() public method

public getPacked ( ) : string
return string
Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function calibrate(Test $test)
 {
     $test->getPacked();
 }
 /**
  * {@inheritdoc}
  */
 public function sanitize(Test $test)
 {
     if ($test->getPacked() !== \msgpack_pack($test->getRaw())) {
         throw new \UnexpectedValueException('$packed !== msgpack_pack($raw)');
     }
 }