src/LdapTools/Schema/Parser/SchemaYamlParser.php
protected function updateObjectArray($schemaName, $schemaObject)
    {
        foreach ($this->schemas[$this->schemaFolder][$schemaName]['objects'] as $name => $value) {
            if (array_key_exists('type', $value) && $value['type'] == $schemaObject['type']) {
                $this->schemas[$this->schemaFolder][$schemaName]['objects'][$name] = $schemaObject;
            }
        }
    }
protected function updateObjectArray($schemaName, $schemaObject)
    {
        foreach ($this->schemas[$this->schemaFolder][$schemaName]['objects'] as $name => $value) {
            if (array_key_exists('type', $value) && $value['type'] == $schemaObject['type']) {
                $this->schemas[$this->schemaFolder][$schemaName]['objects'][$name] = $schemaObject;
            }
        }
    }
protected function updateObjectArray ( $ schemaName , $ schemaObject ) { foreach ( $ this -> schemas [ $ this -> schemaFolder ] [ $ schemaName ] [ 'objects' ] as $ name => $ value ) { if ( array_key_exists ( 'type' , $ value ) && $ value [ 'type' ] == $ schemaObject [ 'type' ] ) { $ this -> schemas [ $ this -> schemaFolder ] [ $ schemaName ] [ 'objects' ] [ $ name ] = $ schemaObject ; } } }
Update the object in the schema array in case it extended a different object type.

@param string $schemaName
@param array $schemaObject
Update the object in the schema array in case it extended a different object type .