getPublicKey() public method

Return public key
public getPublicKey ( ) : string
return string
示例#1
0
 /**
  * Is public key valid?
  */
 public function testPublicKeyValid()
 {
     $api = new Api(UC_PUBLIC_KEY, UC_SECRET_KEY);
     $this->assertTrue($api->getPublicKey() == 'demopublickey', 'This is true');
 }
示例#2
0
 /**
  * Is public key valid?
  */
 public function testPublicKeyValid()
 {
     $this->assertTrue($this->api->getPublicKey() == 'demopublickey', 'This is true');
 }