src/Charcoal/Model/Service/MetadataLoader.php
public function loadMetadataByKeys(array $idents)
    {
        $metadata = [];
        foreach ($idents as $metaKey) {
            $data = $this->loadMetadataByKey($metaKey);
            if (is_array($data)) {
                $metadata = array_replace_recursive($metadata, $data);
            }
        }

        return $metadata;
    }
public function loadMetadataByKeys(array $idents)
    {
        $metadata = [];
        foreach ($idents as $metaKey) {
            $data = $this->loadMetadataByKey($metaKey);
            if (is_array($data)) {
                $metadata = array_replace_recursive($metadata, $data);
            }
        }

        return $metadata;
    }
public function loadMetadataByKeys ( array $ idents ) { $ metadata = [ ] ; foreach ( $ idents as $ metaKey ) { $ data = $ this -> loadMetadataByKey ( $ metaKey ) ; if ( is_array ( $ data ) ) { $ metadata = array_replace_recursive ( $ metadata , $ data ) ; } } return $ metadata ; }
Fetch the metadata for the given identifiers.

@param  array $idents One or more metadata identifiers to load.
@return array
Fetch the metadata for the given identifiers .