public function toLdap($value)
{
$this->validateCurrentAttribute($this->getOptions()['uacMap']);
if ($this->getOperationType() == AttributeConverterInterface::TYPE_SEARCH_TO) {
return $this->getQueryOperator((bool) $value);
} else {
return $this->modifyUacValue((bool) $value);
}
}