/** * {@inheritDoc} */ public function __construct($name, NodeParentInterface $parent = null) { parent::__construct($name, $parent); $this->nullEquivalent = array(); $this->trueEquivalent = array(); }
/** * {@inheritDoc} */ public function __construct($name, NodeParentInterface $parent = null) { parent::__construct($name, $parent); $this->children = array(); $this->addDefaults = false; $this->allowNewKeys = true; $this->atLeastOne = false; $this->allowEmptyValue = true; $this->performDeepMerging = true; $this->nullEquivalent = array(); $this->trueEquivalent = array(); }
public function __construct($name, NodeParentInterface $parent = null) { parent::__construct($name, $parent); $this->children = array('type' => $this->getNodeBuilder()->node('type', 'scalar')->setParent($this)->isRequired()); }