CloudflarePurger::getZones
Fetch the list of Zones from CloudFlare.
Signature
public function getZones()
Returns
- array
- Array of Zones where the key is the Zone Identifier in Cloudflare and the value is the domain name.
Errors/Exceptions
-
Exception
- If credentials are provided, but zones can not be retrieved from Cloudflare.