示例#1
0
    /**
     * {@inheritDoc}
     */
    public function __construct($name, NodeParentInterface $parent = null)
    {
        parent::__construct($name, $parent);

        $this->nullEquivalent = array();
        $this->trueEquivalent = array();
    }
示例#2
0
 /**
  * {@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();
 }
示例#3
0
 public function __construct($name, NodeParentInterface $parent = null)
 {
     parent::__construct($name, $parent);
     $this->children = array('type' => $this->getNodeBuilder()->node('type', 'scalar')->setParent($this)->isRequired());
 }