Zend\Ldap\Converter\Converter::toLdapBoolean
Convert a boolean value to an LDAP-compatible string
This converts a boolean value of TRUE, an integer-value of 1 and a case-insensitive string 'true' to an LDAP-compatible 'TRUE'. All other other values are converted to an LDAP-compatible 'FALSE'.
Signature
public function toLdapBoolean(bool|int|string
$value )
Parameters
$value
— object- The boolean value to encode
Returns
- string