public function setDefaultValue($value)
    {
        if (!is_array($value)) {
            throw new \InvalidArgumentException($this->getPath().': the default value of an array node has to be an array.');
        }

        $this->defaultValue = $value;
    }
public function setDefaultValue($value)
    {
        if (!is_array($value)) {
            throw new \InvalidArgumentException($this->getPath().': the default value of an array node has to be an array.');
        }

        $this->defaultValue = $value;
    }
public function setDefaultValue ( $ value ) { if ( ! is_array ( $ value ) ) { throw new \ InvalidArgumentException ( $ this -> getPath ( ) . ': the default value of an array node has to be an array.' ) ; } $ this -> defaultValue = $ value ; }
Sets the default value of this node.

@param string $value

@throws \InvalidArgumentException if the default value is not an array
Sets the default value of this node .