mirror of
https://github.com/Neur0toxine/pock.git
synced 2024-11-29 00:25:37 +03:00
30 lines
503 B
PHP
30 lines
503 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* PHP 7.3
|
||
|
*
|
||
|
* @category EmptyXmlSerializerDecorator
|
||
|
* @package Pock\TestUtils
|
||
|
*/
|
||
|
|
||
|
namespace Pock\TestUtils;
|
||
|
|
||
|
use Pock\Serializer\SerializerInterface;
|
||
|
|
||
|
/**
|
||
|
* Class EmptyXmlSerializerDecorator
|
||
|
*
|
||
|
* @category EmptyXmlSerializerDecorator
|
||
|
* @package Pock\TestUtils
|
||
|
*/
|
||
|
class EmptyXmlSerializerDecorator implements SerializerInterface
|
||
|
{
|
||
|
/**
|
||
|
* @inheritDoc
|
||
|
*/
|
||
|
public function serialize($data): string
|
||
|
{
|
||
|
return '<?xml version="1.0" encoding="UTF-8"?>';
|
||
|
}
|
||
|
}
|