Spatie\Newsletter\Newsletter::updateContent PHP Метод

updateContent() публичный Метод

public updateContent ( $campaignId, $html, $options = [] )
    public function updateContent($campaignId, $html, $options = [])
    {
        $defaultOptions = compact('html');
        $options = array_merge($defaultOptions, $options);
        $response = $this->mailChimp->put("campaigns/{$campaignId}/content", $options);
        if (!$this->lastActionSucceeded()) {
            return false;
        }
        return $response;
    }