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

declare(strict_types=1);

namespace IQDEV\ElasticSearch\Criteria\Aggs;

use IQDEV\ElasticSearch\Document\Property\Property;

class Aggs
{
    public function __construct(
        private readonly Property $property,
    ) {
    }

    public function getProperty(): Property
    {
        return $this->property;
    }
}