Zend\Ldap\Collection\DefaultIterator::setAttributeNameTreatment
Sets the attribute name treatment.
Can either be one of the following constants - Zend\Ldap\Collection\DefaultIterator::ATTRIBUTE_TO_LOWER - Zend\Ldap\Collection\DefaultIterator::ATTRIBUTE_TO_UPPER - Zend\Ldap\Collection\DefaultIterator::ATTRIBUTE_NATIVE or a valid callback accepting the attribute's name as it's only argument and returning the new attribute's name.
Signature
public function setAttributeNameTreatment(int|callable
$attributeNameTreatment )
Parameters
$attributeNameTreatment
— object
Returns
- DefaultIterator
- Provides a fluent interface