We require a PHP class to extract property details for a given page. The PHP class *must* use phpQuery for extraction - we will not accept anything else.
We require the following data to be extracted for each property contained in <div id="results">:
- listing id
- property address
- property price
(example attached data and output attached.)
The class needs to return the above information for all the properties listed on the page.
Additionally, the class also needs to return the next page link: