function __construct($publicKey, $privateKey) { $this->headers = array(AuthenticationUtil::generateAuthenticationHeader($publicKey, $privateKey)); }
function __construct($mashapeKey) { $this->headers = array(AuthenticationUtil::generateAuthenticationHeader($mashapeKey)); }