Pinq\Queries\Common\Join\Filter\Equality::update PHP Метод

update() публичный Метод

public update ( ElementProjection $outerKeyFunction, ElementProjection $innerKeyFunction ) : Equality
$outerKeyFunction Pinq\Queries\Functions\ElementProjection
$innerKeyFunction Pinq\Queries\Functions\ElementProjection
Результат Equality
    public function update(Functions\ElementProjection $outerKeyFunction, Functions\ElementProjection $innerKeyFunction)
    {
        if ($this->outerKeyFunction === $outerKeyFunction && $this->innerKeyFunction === $innerKeyFunction) {
            return $this;
        }
        return new self($outerKeyFunction, $innerKeyFunction);
    }