public function __construct($attribute, $type, $value = null)
{
if (!defined('self::' . strtoupper($type))) {
throw new LdapQueryException(sprintf('Invalid wildcard operator type "%s".', $type));
} elseif ($type == self::PRESENT) {
$this->setUseConverter(false);
}
$this->setAttribute($attribute);
$this->value = $value;
$this->validOperators = [self::EQ];
$this->operatorSymbol = self::EQ;
$this->wildcardType = $type;
}