public function setAllowedAggregateTypes($allowed_types) { $this->config['allowed_aggregate_types'] = $allowed_types; return $this; }