getPacked() 공개 메소드

public getPacked ( ) : string
리턴 string
예제 #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)');
     }
 }