Allow conversion of LSattr_ldap to string

This commit is contained in:
Benjamin Renard 2020-09-10 12:26:48 +02:00
parent 00d92d1c37
commit 060ebf1bff

View file

@ -53,6 +53,15 @@ class LSattr_ldap extends LSlog_staticLoggerClass {
return true;
}
/**
* Allow conversion of LSattr_ldap to string
*
* @retval string The string representation of the LSattr_ldap
*/
public function __toString() {
return "<".get_class($this)." ".$this -> name.">";
}
/**
* Retourne la valeur de l'attribut après traitement lié à son type ldap
*