3 declare(strict_types=1);
70 if (is_null($this->total)) {
72 $data = $this->
raw(self::FIELD_TOTAL);
76 $this->total = (int) $data;
90 if (is_null($this->offset)) {
92 $data = $this->
raw(self::FIELD_OFFSET);
96 $this->offset = (int) $data;
110 if (is_null($this->limit)) {
112 $data = $this->
raw(self::FIELD_LIMIT);
113 if (is_null($data)) {
116 $this->limit = (int) $data;
130 if (is_null($this->hits)) {
132 $data = $this->
raw(self::FIELD_HITS);
133 if (is_null($data)) {
setHits(?HitCollection $hits)
__construct(?int $total=null, ?int $offset=null, ?int $limit=null, ?HitCollection $hits=null)