public __construct ( string $name ) | ||
$name | string | the name of this aggregation |
public function __construct($name)
{
$this->setName($name);
}
/** * @param string $name * @param string|null $bucketsPath */ public function __construct($name, $bucketsPath = null) { parent::__construct($name); if ($bucketsPath !== null) { $this->setBucketsPath($bucketsPath); } }