Pinq\Expressions\EmptyExpression::update PHP Method

update() public method

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