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:----dnyaVO01DdqQnE7uYyl70OWHfJxplL55n0B2uvFJ5vlMUHynmh9PUf1fyMX6kspTnjosVwDkJN5FJ77zdJPdPrafkpbBdug/0ik+2omsObEaoOY9wgUgw+1x7yXBSYyZWu8Q7kHtFVzSk4X1FdOjNjPuHTryDeKPqq8kPEWkLsuB7+CD+h3sw3McLCzWQdt7yEKgP0rRCpRWH0CRfqvnxb0aGminaii4pttZQt0y8YF5n3TDja2GkNxHOk+GtfADNc8a+ASG3i6+lqsBb/nMX+c03iq+NC9tpeXRnK0d+4kJzEWT2SIE3xKaTkGD1RWyaZD8GJPA3ERXOAEFutKgzepMRe+WEF9TF97+/MIfWcdOqQke/DcvH2Yc8FPmER25BHQTvCPqvOo56fo7WZnGWF0ofTM+Cuq5haGYk5F3iE2TL0ChJKm/FobV1dygKYKmCA1c+bTKN21SKkPPY9WnfVZecFCTUhUoD9GGjtQI7ZV0OnxYLX88oWyDUkhJHK5d5aSkV7DaAMeMTlA3ZPYunu8cQLLHEL8kmRtvb41t8PVnnmH+dCNXB04TzJ+PyK3/Zw/gG9UdmodJ3OErrUmOfJT2Ux4KqPhuDUcR5BNDUOpNM/RXn8QTY8w1E2r47aFbMmCBza2l5XblhDEc4xhzjWJjR9ABWDAoGmXFRfOuu+4=----ATTACHMENT:----MTA1MTIwNjc5NjA5MzE2MyA4MTM2MTY0MzgwNTgzODQ0IDgxNzkxOTk3NTAxNDUzNjA=