DrewM\MailChimp\Batch::get PHP Method

get() public method

Add an HTTP GET request operation to the batch - for retrieving data
public get ( string $id, string $method, array $args = [] ) : void
$id string ID for the operation within the batch
$method string URL of the API request method
$args array Assoc array of arguments (usually your data)
return void
    public function get($id, $method, $args = array())
    {
        $this->queueOperation('GET', $id, $method, $args);
    }