src/Charcoal/Property/Structure/StructureMetadata.php
public function setDefaultData(array $data)
    {
        foreach ($data as $key => $val) {
            $this->defaultData[$key] = $val;
        }

        return $this;
    }
public function setDefaultData(array $data)
    {
        foreach ($data as $key => $val) {
            $this->defaultData[$key] = $val;
        }

        return $this;
    }
public function setDefaultData ( array $ data ) { foreach ( $ data as $ key => $ val ) { $ this -> defaultData [ $ key ] = $ val ; } return $ this ; }
Set the object's default values.

@param  array $data An associative array.
@return StructureMetadata
Set the object s default values .