示例#1
0
 /**
  * {@inheritdoc}
  */
 public function get($path = null, $default = null)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'get');
     if (!$pluginInfo) {
         return parent::get($path, $default);
     } else {
         return $this->___callPlugins('get', func_get_args(), $pluginInfo);
     }
 }
示例#2
0
 /**
  * Get indexer by ID
  *
  * @param string $indexerId
  * @return array
  */
 public function getIndexer($indexerId)
 {
     return $this->configData->get($indexerId);
 }