Skip to content
Snippets Groups Projects
Result.php 413 B
Newer Older
Pavel's avatar
Pavel committed
<?php

namespace IQDEV\Search;

use IQDEV\Search\Document\DocumentCollection;
use IQDEV\Search\Facet\FacetCollection;

class Result
{
    public DocumentCollection $hits;
    public FacetCollection $facets;
    public int $numPages = 0;
    public int $numProduct = 0;

    public function __construct()
    {
        $this->hits = new DocumentCollection();
        $this->facets = new FacetCollection();
    }
}