for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Aoe\Asdis\Content\Replacement;
/**
* A content replacement map.
*/
class Map
{
* @var array
private $sources = [];
private $targets = [];
* @param string $source
* @param string $target
public function addMapping($source, $target)
$this->sources[] = $source;
$this->targets[] = $target;
}
* @return array
public function getSources()
return $this->sources;
public function getTargets()
return $this->targets;