protected function createLegacyXml(array $data) { $data['uri'] = $this->urlRedecorator->redecorateFromSource($data['uri']); $pathInfo = pathinfo($data['uri']); return $this->fillXml($data, $pathInfo, time()); }