setType() setType(string $type) : $this Set the child type for this aggregation. Parameters string $type the child type that should be selected Returns $this