protected function getLockIdentifier() { $identifier = parent::getLockIdentifier(); if (!empty($this->params['remove'])) { $identifier .= '_and_remove'; } return $identifier; }
public function eventBeforeProcessing() { parent::eventBeforeProcessing(); $skus = array(); foreach ($this->listingsProducts as $listingProduct) { $skus[] = $this->getRequestDataObject($listingProduct)->getSku(); } $this->addSkusToQueue($skus); }