コード例 #1
0
 public function testDisableBinary()
 {
     $transformer = new ZendCryptHashTransformer(['binary' => false]);
     $this->assertFalse($transformer->getBinary());
 }
コード例 #2
0
 /**
  * @param string $key
  * @param array $options
  */
 public function __construct($key, array $options = [])
 {
     $this->key = $key;
     parent::__construct($options);
 }