Pinq\Expressions\ValueExpression::update PHP Method

update() public method

public update ( mixed $value ) : self
$value mixed
return self
    public function update($value)
    {
        if ($this->value === $value) {
            return $this;
        }
        return new self($value);
    }