public function __construct(array $results, $total) { $this->results = $results; $this->total = $total; }