/** * Constructor * @param string name of the corresponding class * @param string $type type consts * @param false|epClassMap $class_map */ public function __construct($name, $type = self::DT_CHAR, $class_map = false) { parent::__construct($name); $this->setType($type); if ($class_map) { $this->setClassMap($class_map); } }
/** * Constructor */ public function __construct($name = null, $children_key = 'Name') { parent::__construct($name); $this->setChildrenKey($children_key); }