src/Api.php
public function getPublicKey() {

    if (empty($this->wardenPublicKey)) {
      $result = $this->request('/public-key');
      $this->wardenPublicKey = base64_decode($result->getBody());
    }

    return $this->wardenPublicKey;
  }
public function getPublicKey() {

    if (empty($this->wardenPublicKey)) {
      $result = $this->request('/public-key');
      $this->wardenPublicKey = base64_decode($result->getBody());
    }

    return $this->wardenPublicKey;
  }
public function getPublicKey ( ) { if ( empty ( $ this -> wardenPublicKey ) ) { $ result = $ this -> request ( '/public-key' ) ; $ this -> wardenPublicKey = base64_decode ( $ result -> getBody ( ) ) ; } return $ this -> wardenPublicKey ; }
Get the public key.

@throws WardenBadResponseException
If the response status was not 200
Get the public key .