LdapTools\Query\Operator\BaseOperator::setTranslatedAttribute PHP Method

setTranslatedAttribute() public method

Set the translated attribute (the attribute after the schema conversion).
public setTranslatedAttribute ( $attribute, string | null $alias = null )
$alias string | null
    public function setTranslatedAttribute($attribute, $alias = null)
    {
        if ($alias) {
            $this->translatedAliasAttribute[$alias] = $attribute;
        } else {
            $this->translatedAttribute = $attribute;
        }
    }