LdapTools\Query\Operator\BaseOperator::getAttributeToQuery PHP Метод

getAttributeToQuery() защищенный Метод

This will get the translated attribute or just the attribute if no schema translation was done.
protected getAttributeToQuery ( null | string $alias ) : string
$alias null | string
Результат string
    protected function getAttributeToQuery($alias)
    {
        $attribute = $this->getTranslatedAttribute($alias) ?: $this->getAttribute();
        // This avoids possible LDAP injection from unverified input for an attribute name.
        if (!LdapUtilities::isValidAttributeFormat($attribute)) {
            throw new LdapQueryException(sprintf('Attribute "%s" is not a valid name or OID.', $attribute));
        }
        return $attribute;
    }