Elastica\Aggregation\SerialDiff::__construct PHP Method

__construct() public method

public __construct ( string $name, string | null $bucketsPath = null )
$name string
$bucketsPath string | null
    public function __construct($name, $bucketsPath = null)
    {
        parent::__construct($name);
        if ($bucketsPath !== null) {
            $this->setBucketsPath($bucketsPath);
        }
    }