Sync/Extractor/PassthroughExtractor.php
public function extract(AbstractDiffItem $item)
    {
        if (!is_numeric($item->getItemId())) {
            throw new InvalidArgumentException('No valid item ID provided.');
        }

        if ($item instanceof CreateDiffItem) {
            $this->saveResult($item, ActionTypes::CREATE);
        }
        if ($item instanceof UpdateDiffItem) {
            $this->saveResult($item, ActionTypes::UPDATE);
        }
        if ($item instanceof DeleteDiffItem) {
            $this->saveResult($item, ActionTypes::DELETE);
        }
    }
public function extract(AbstractDiffItem $item)
    {
        if (!is_numeric($item->getItemId())) {
            throw new InvalidArgumentException('No valid item ID provided.');
        }

        if ($item instanceof CreateDiffItem) {
            $this->saveResult($item, ActionTypes::CREATE);
        }
        if ($item instanceof UpdateDiffItem) {
            $this->saveResult($item, ActionTypes::UPDATE);
        }
        if ($item instanceof DeleteDiffItem) {
            $this->saveResult($item, ActionTypes::DELETE);
        }
    }
{@inheritdoc}