getDefaultValue() public method

The default value could be either explicited or derived from the prototype default value.
public getDefaultValue ( ) : array
return array The default value
 public function testGetDefaultValueReturnsDefaultValueForPrototypes()
 {
     $node = new PrototypedArrayNode('root');
     $prototype = new ArrayNode(null, $node);
     $node->setPrototype($prototype);
     $node->setDefaultValue(array('test'));
     $this->assertEquals(array('test'), $node->getDefaultValue());
 }