src/LdapTools/Schema/Parser/SchemaYamlParser.php
protected function mergeAnyExtendedSchemas(array $objectSchema, $schemaName)
    {
        if (!(isset($objectSchema['extends']) || isset($objectSchema['extends_default']))) {
            return $objectSchema;
        }

        return $this->mergeSchemaObjectArrays($this->getParentSchemaObject($objectSchema, $schemaName), $objectSchema);
    }
protected function mergeAnyExtendedSchemas(array $objectSchema, $schemaName)
    {
        if (!(isset($objectSchema['extends']) || isset($objectSchema['extends_default']))) {
            return $objectSchema;
        }

        return $this->mergeSchemaObjectArrays($this->getParentSchemaObject($objectSchema, $schemaName), $objectSchema);
    }
protected function mergeAnyExtendedSchemas ( array $ objectSchema , $ schemaName ) { if ( ! ( isset ( $ objectSchema [ 'extends' ] ) || isset ( $ objectSchema [ 'extends_default' ] ) ) ) { return $ objectSchema ; } return $ this -> mergeSchemaObjectArrays ( $ this -> getParentSchemaObject ( $ objectSchema , $ schemaName ) , $ objectSchema ) ; }
If the 'extends' option is given, then merge this schema object with the requested schema object.

@param array $objectSchema
@param string $schemaName
@return array
@throws SchemaParserException
If the extends option is given then merge this schema object with the requested schema object .