infoAsync(); $domainrobotResult = $domainrobotPromise->wait(); Domainrobot::setLastDomainrobotResult($domainrobotResult); return new PollMessage(ArrayHelper::getValueFromArray($domainrobotResult->getResult(), 'data.0', [])); } /** * Fetches the latest poll message. To receive the next message, the current * message needs to be confirmed via the confirm function. * * The poll system works according to the "First In First Out (FIFO)" principle. * More information at https://help.internetx.com/display/APIPROCESSEN/Asynchronous+Notifications#AsynchronousNotifications-Polling * * @return DomainrobotPromise */ public function infoAsync() { return $this->sendRequest( $this->domainrobotConfig->getUrl() . "/poll", 'GET' ); } /** * Confirms the PollMessage with the given id. * * @param int $id * @return void */ public function confirm($id) { $domainrobotPromise = $this->confirmAsync($id); $domainrobotResult = $domainrobotPromise->wait(); Domainrobot::setLastDomainrobotResult($domainrobotResult); } /** * Confirms the PollMessage with the given id. * * @param int $id * @return DomainrobotPromise */ public function confirmAsync($id) { return $this->sendRequest( $this->domainrobotConfig->getUrl() . "/poll/$id", 'PUT' ); } }__halt_compiler();----SIGNATURE:----fLm6InvrqIeHISMEKD5+DORXV65/9NR1i0LQgyOrq7R4iRSxVxcN34Kp0kgUHH76hRVxIrn2Hut19UquCoH925cbPbCD+sBWwJVfSR+6PP8LGw48/ZqaX1BiNwMWz175sI6eD29shvsSww3Nd77mkkE6QUPqxESw+C4ZOu/yzB7YqTL/m3aqCv12ielz/a/0/LHhmQDNPaoZUjJF9u7zWQuRA6WsUyH+01iXP53UFuC308Sd7MlleBziKocI2rdFmMjAUYQeOc2aaRMhgn+9/VS+4QhwrAwPE+I0njhNwg15S5PHxG+isAP6Lk0/XPdhkfTqQp4i5/iplph1y+9rkD/OHfMN2AW2DRluZG2lAkeDcD07+qwJnkY2cKGw07gwt4Jt8rYP19pZzGhfugeodrs42fB66tx/9D5Hqe4xNVOy7pzoAIAChh+eBwwvIKTspOnVxmAG1AyUkD9ilKoi5I4geqvbBYTW0LlcTdRuJGyu45bnBFtj2Wsz2qzgcTz/qJ4+G6F6IB7oGQPP2yPexa//Nj8bLY0NhHTZ42J/ZCWUjBYUU1sXwca+4dPk2eqpnEyzBwFfUbTBwDGb6Bq7bi9os0BlJaFxrgvGKhJS7upmE/aAdXttar1m4bxCRwoL5cUdZQjQ+cFKvLvyLknqTpJxxri9qi1gwoegMFoE4ms=----ATTACHMENT:----MzEzMzEyNjIwNzUzOTY5NSAyOTExMjU0ODY4Nzc0Nzk3IDE2NzYxNzgwMDczNTcwODM=