LdapTools\Query\Operator\Comparison::__construct PHP Method

__construct() public method

Construct a common attribute comparison check.
public __construct ( string $attribute, string $comparison, mixed $value )
$attribute string The attribute to check.
$comparison string The comparison type.
$value mixed The value to check for.
    public function __construct($attribute, $comparison, $value)
    {
        $this->validOperators = [self::AEQ, self::EQ, self::GTE, self::LTE];
        $this->setOperatorSymbol($comparison);
        $this->setAttribute($attribute);
        $this->value = $value;
    }
Comparison