LdapTools\Schema\Parser\SchemaYamlParser::mergeAnyExtendedSchemas PHP Méthode

mergeAnyExtendedSchemas() protected méthode

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