Pipeline/ItemSkipper.php
public static function skip(ItemPipelineEvent $event, $reason = '')
    {
        $itemSkip = new ItemSkip();
        $itemSkip->setReason($reason);
        $event->setItemSkip($itemSkip);
        $event->stopPropagation();
    }
public static function skip(ItemPipelineEvent $event, $reason = '')
    {
        $itemSkip = new ItemSkip();
        $itemSkip->setReason($reason);
        $event->setItemSkip($itemSkip);
        $event->stopPropagation();
    }
Skips item, marks event as skipped with a reason.

@param ItemPipelineEvent $event
@param string            $reason