prismicio/php-kit — pull request #26 by tremby (2014-03-10 18:50:00+00:00)
Title: Add SearchForm::count method

The `SearchForm::submit` method is augmented with a `$raw` parameter which when
true causes the raw results object to be returned rather than an array of
Document objects.

This allows a `count()` method on the SearchForm class which copies the form
(via `pageSize(1)`), submits it and returns just the `total_results_size`
property.