示例#1
0
 public function __construct($name, NodeInterface $parent = null, array $beforeTransformations = array(), array $afterTransformations = array(), array $normalizeTransformations = array(), $keyAttribute = null)
 {
     parent::__construct($name, $parent, $beforeTransformations, $afterTransformations);
     $this->children = array();
     $this->normalizeTransformations = $normalizeTransformations;
     $this->keyAttribute = $keyAttribute;
 }
示例#2
0
 public function __construct($name, NodeInterface $parent = null)
 {
     parent::__construct($name, $parent);
     $this->children = array();
     $this->xmlRemappings = array();
     $this->allowFalse = false;
     $this->addIfNotSet = false;
     $this->allowNewKeys = true;
     $this->performDeepMerging = true;
     $this->minNumberOfElements = 0;
 }