public function setShouldAggregateValues($aggregateValues) { $this->aggregateValues = (bool) $aggregateValues; }