/** * Constructor * * @return void */ public function __construct(Amazon $amazon, AmazonRequestURL $url) { $this->amazon = $amazon; $this->privatekey = $amazon->secretaccesskey(); $this->url = $url; $this->implodeParams(); $this->runHash(); }