-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: Add support to list zones #14
Conversation
a908140
to
fed0eb4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! I've tested your code and it seems to work fine. I've just a few comments, mostly about our code conventions. If those are fixed, I'll merge your PR.
fed0eb4
to
5750834
Compare
Thanks for the review! I just implemented those docblock changes and modified the behavior of getCanoncalName to return the $this->zone. I rebased these two commits down into one to keep your merge history clean as well. |
This change helps facilitate bulks actions like managing ACME from a client-side app. After one calls $powerDns->listZones(); knowing what zone is being returned is extremely helpful. `$zone->getCanonicalName(): string;` PR changes requested by repo owner PHPCS cleanup
358a1de
to
8ab8aa0
Compare
Released as v1.1.0 🎉 |
Feature enhancement: list domains to support bulk operations.
new method:
Once working with Zone[], knowing what zone is being returned is helpful for consuming code.