Ejemplo n.º 1
0
 /**
  * @param Unit               $unit
  * @param \Render\ModuleInfo $moduleInfo
  * @param LegacyModule       $module
  * @param string             $parentId
  * @param NodeTree           $relatedTree
  */
 public function __construct(Unit $unit, ModuleInfo $moduleInfo, LegacyModule $module, $parentId, NodeTree $relatedTree)
 {
     parent::__construct($unit, $moduleInfo, $parentId, $relatedTree);
     $this->module = $module;
 }
Ejemplo n.º 2
0
 /**
  * @param Unit                   $unit          the unit data of the current node
  * @param \Render\ModuleInfo     $moduleInfo    the module data of the current node
  * @param string                 $parentId      the id of the parent node
  * @param NodeTree               $relatedTree   the related NodeTree object
  * @param ModuleInterface $module        the module of the current node
  * @param string                 $moduleApiType the API which the module of current node used
  */
 public function __construct(Unit $unit, ModuleInfo $moduleInfo, $parentId, NodeTree $relatedTree, ModuleInterface $module, $moduleApiType)
 {
     parent::__construct($unit, $moduleInfo, $parentId, $relatedTree);
     $this->module = $module;
     $this->moduleApiType = $moduleApiType;
 }