Beispiel #1
0
 /**
  * @param Extender $extender
  */
 public function setExtender(Extender $extender)
 {
     $this->extender = $extender;
     $this->extender->setSphringEventDispatcher($this->sphringEventDispatcher);
 }
Beispiel #2
0
 /**
  * Extend the current sphring
  * @param array $extendNodesArray
  */
 private function extendFromComposer(array $extendNodesArray)
 {
     foreach ($extendNodesArray as $extendNodeName => $extendNodeNameInfo) {
         $this->extender->addExtendFromArray($extendNodeName, $extendNodeNameInfo);
     }
 }