prismicio-community / php-kit

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

Missing getClient method : Previews not working #93

Closed fireproofsocks closed 9 years ago

fireproofsocks commented 9 years ago

The current version of the Api.php class is missing the getClient function, so the preview functionality does not work:

The Call to undefined method Prismic\\Api::getClient() in /xxxvendor/prismic/php-sdk/src/Prismic/Api.php on line 213

See https://github.com/prismicio/php-kit/blob/cfa263f90c1307859baf81629f6e4c1ef017503f/src/Prismic/Api.php for when it was last there.

erwan commented 9 years ago

That's fixed, thanks for the report!