setConvertedValue() public method

Set the converted value.
public setConvertedValue ( mixed $value, string | null $alias = null )
$value mixed
$alias string | null
 /**
  * @param BaseOperator $operator
  * @param string $alias
  */
 protected function convertOperatorValues(BaseOperator $operator, $alias)
 {
     if (!is_null($operator->getAlias()) && $operator->getAlias() !== $alias) {
         return;
     }
     $isValueArray = is_array($operator->getValue());
     $values = $isValueArray ? $operator->getValue() : [$operator->getValue()];
     $converter = $this->getConverterWithOptions($this->schema->getConverter($operator->getAttribute()));
     $values = $this->doConvertValues($operator->getAttribute(), $values, 'toLdap', $converter);
     if ($values instanceof BaseOperator) {
         $this->processOperator($values, $alias);
     }
     $operator->setConvertedValue($isValueArray || $converter->getIsMultiValuedConverter() ? $values : $values[0], $alias);
     $operator->setWasConverterUsed(true, $alias);
 }