示例#1
0
 /**
  * @param $remoteHash
  * @param $privateKey
  */
 public function __construct($remoteHash, $privateKey)
 {
     parent::__construct('', $privateKey);
     $this->setRemoteHash($remoteHash);
 }
示例#2
0
 /**
  * @param string $identity
  * @param string $privateKey
  */
 public function __construct($identity = 'my-identity', $privateKey = 'my-private-key')
 {
     parent::__construct($identity, $privateKey);
 }