src/Charcoal/Property/Structure/StructureMetadata.php
public function setProperties(array $properties)
    {
        foreach ($properties as $propertyIdent => $propertyMetadata) {
            if (isset($this->properties[$propertyIdent])) {
                $this->properties[$propertyIdent] = array_replace_recursive(
                    $this->properties[$propertyIdent],
                    $propertyMetadata
                );
            } else {
                $this->properties[$propertyIdent] = $propertyMetadata;
            }
        }

        return $this;
    }
public function setProperties(array $properties)
    {
        foreach ($properties as $propertyIdent => $propertyMetadata) {
            if (isset($this->properties[$propertyIdent])) {
                $this->properties[$propertyIdent] = array_replace_recursive(
                    $this->properties[$propertyIdent],
                    $propertyMetadata
                );
            } else {
                $this->properties[$propertyIdent] = $propertyMetadata;
            }
        }

        return $this;
    }
public function setProperties ( array $ properties ) { foreach ( $ properties as $ propertyIdent => $ propertyMetadata ) { if ( isset ( $ this -> properties [ $ propertyIdent ] ) ) { $ this -> properties [ $ propertyIdent ] = array_replace_recursive ( $ this -> properties [ $ propertyIdent ] , $ propertyMetadata ) ; } else { $ this -> properties [ $ propertyIdent ] = $ propertyMetadata ; } } return $ this ; }
Set the properties.

@param  array $properties One or more properties.
@return StructureMetadata
Set the properties .