public function __construct(array $response) { $this->hits = Arr::get($response, 'inner_hits', []); }