Pinq\Queries\Segments\Operation::update PHP 메소드

update() 공개 메소드

public update ( integer $operationType, Pinq\Queries\Common\ISource $source ) : Operation
$operationType integer
$source Pinq\Queries\Common\ISource
리턴 Operation
    public function update($operationType, Common\ISource $source)
    {
        if ($this->operationType === $operationType && $this->source === $source) {
            return $this;
        }
        return new self($operationType, $source);
    }