Pinq\Expressions\ArgumentExpression::update PHP Method

update() public method

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