Adldap\Query\Bindings\Where::__construct PHP Method

__construct() public method

Constructor.
public __construct ( string $field, string $operator, string $value )
$field string
$operator string
$value string
    public function __construct($field, $operator, $value)
    {
        // We'll escape the field to avoid allowing unsafe characters inside.
        $this->field = Utilities::escape($field, null, 3);
        // Validate and retrieve the operator.
        $this->operator = $this->validateOperator($operator);
        // Completely escape the value.
        $this->value = Utilities::escape($value);
    }