sanitizeAttributeArray() public static method

Sanitizes certain values in an attribute key => value array to make them safe for logging (ie. mask passwords, replace binary data).
public static sanitizeAttributeArray ( array $attributes ) : array
$attributes array
return array
Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function getLogArray()
 {
     return $this->mergeLogDefaults(['DN' => $this->properties['dn'], 'Attributes' => print_r(LdapUtilities::sanitizeAttributeArray($this->properties['attributes']), true)]);
 }