egroupware_official/api/tests/Storage/TestMerge.php
nathan 3f5a0900f1 Merge: more messing around with encoding, this time ">" was getting stripped
the source was plaintext going into an XML document without parsing html styles
2025-01-24 11:18:44 -07:00

32 lines
498 B
PHP

<?php
namespace Storage;
use EGroupware\Api\Storage\Merge;
/**
* Concrete Merge class for testing
*/
class TestMerge extends Merge
{
private $replacements = [];
public function setReplacements(array $replacements)
{
$this->replacements = $replacements;
}
public function setParseHtmlStyles($parseHtmlStyles)
{
$this->parseHtmlStyles = $parseHtmlStyles;
}
/**
* @inheritDoc
*/
protected function get_replacements($id, &$content = null)
{
return $this->replacements;
}
}