prismicio-community / php-kit

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

Add public method to retrieve the current ref #125

Closed gsteel closed 7 years ago

gsteel commented 8 years ago

If you want to use a search form for example without using Api::query, currently, you have to search $_COOKIE to check if you're in a preview or experiment.

gsteel commented 7 years ago

Any chance of feedback/review on this pull request?

dohzya commented 7 years ago

Sorry for the delay, and thank you very much 😉