cloudflare / cloudflare-php

PHP library for the Cloudflare v4 API
BSD 3-Clause "New" or "Revised" License
621 stars 222 forks source link

Missing Support For Custom Hostname Creation Properties #177

Closed phily245 closed 3 years ago

phily245 commented 3 years ago

When creating a custom hostname using the addHostname function at https://github.com/cloudflare/cloudflare-php/blob/master/src/Endpoints/CustomHostnames.php#L38, there is no support for the bundle_method, custom_certificate or custom_key fields as documented at https://api.cloudflare.com/#custom-hostname-for-a-zone-create-custom-hostname.

I will make a PR for this.