示例#1
0
 /**
  * {@inheritdoc}
  */
 public function executeRow($id)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'executeRow');
     if (!$pluginInfo) {
         return parent::executeRow($id);
     } else {
         return $this->___callPlugins('executeRow', func_get_args(), $pluginInfo);
     }
 }
示例#2
0
 public function testDoExecuteRow()
 {
     $id = 5;
     $this->indexBuilder->expects($this->once())->method('reindexById')->with($id);
     $this->indexer->executeRow($id);
 }