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