public __construct ( string $name, string $field ) | ||
$name | string | the name of this aggregation |
$field | string | the field on which to perform this aggregation |
public function __construct($name, $field)
{
parent::__construct($name);
$this->setField($field);
}