prismicio-community / php-kit

Community maintained development kit for Prismic and the PHP language
https://prismic.io
Other
109 stars 83 forks source link

Use getters instead of magic `__get` method #6

Closed dohzya closed 11 years ago

dohzya commented 11 years ago

As discussed in #5, the __get methods should be removed and real well-defined getters should be created (and documented).

This change will make code safer and doc plus accurate.

srenault commented 11 years ago

The commit 46d5ff8e268011e8a4daaf3dbe10c8456d74a213 fixes this issue.