LdapTools\Resolver\AttributeValueResolver::iterateAggregates PHP Method

iterateAggregates() protected method

protected iterateAggregates ( array $toAggregate, $values, LdapTools\AttributeConverter\AttributeConverterInterface $converter )
$toAggregate array
$converter LdapTools\AttributeConverter\AttributeConverterInterface
    protected function iterateAggregates(array $toAggregate, $values, AttributeConverterInterface $converter)
    {
        foreach ($toAggregate as $aggregate) {
            if (isset($this->entry[$aggregate])) {
                $values = $this->getConvertedValues($this->entry[$aggregate], $aggregate, 'toLdap', $converter);
                $converter->setLastValue($values);
                $this->converted[] = $aggregate;
            }
        }
        return $values;
    }