Ejemplo n.º 1
0
 /** @return string */
 public function getShaSign()
 {
     return $this->shaComposer->compose($this->toArray());
 }
Ejemplo n.º 2
0
 /**
  * Checks if the response is valid
  * @param ShaComposer $shaComposer
  * @return bool
  */
 public function isValid(ShaComposer $shaComposer)
 {
     return $shaComposer->compose($this->parameters) == $this->shaSign;
 }