private function addCachedMetadata($source)
{
if (isset($this->oldMetadataSrc)) {
foreach ($this->types as $type) {
foreach ($this->oldMetadataSrc->getMetadataSet($type) as $entity) {
if (array_key_exists('metarefresh:src', $entity)) {
if ($entity['metarefresh:src'] == $source['src']) {
$this->addMetadata($source['src'], $entity, $type);
}
}
}
}
}
}