for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Boudewijn Schoon <[email protected]>
* @author Rik van der Kemp <[email protected]>
* @copyright Zicht Online <http://www.zicht.nl>
*/
namespace Zicht\Bundle\UrlBundle\Aliasing\Mapper;
* Class XmlMapper
*
* Helper to map urls in an Sitemap XML string from internal to public aliasing or vice versa.
* @package Zicht\Bundle\UrlBundle\Aliasing
class XmlMapper extends AbstractMapper
{
* Constructor.
public function __construct()
parent::__construct(['text/xml', 'application/xml'], '/(<loc>)(.*?)(<\/loc>)/');
}