src/IronMQ.php
public function addAlerts($queue_name, $alerts_hash)
    {
        $this->setJsonHeaders();
        $queue = rawurlencode($queue_name);
        $url = "projects/{$this->project_id}/queues/$queue";
        $options = array(
            'queue' => array(
                'alerts' => $alerts_hash,
            ),
        );
        return self::json_decode($this->apiCall(self::PUT, $url, $options));
    }
public function addAlerts($queue_name, $alerts_hash)
    {
        $this->setJsonHeaders();
        $queue = rawurlencode($queue_name);
        $url = "projects/{$this->project_id}/queues/$queue";
        $options = array(
            'queue' => array(
                'alerts' => $alerts_hash,
            ),
        );
        return self::json_decode($this->apiCall(self::PUT, $url, $options));
    }
Add alerts to a queue. This is for Pull Queue only.

@param string $queue_name
@param array $alerts_hash
@return mixed