mirror of
https://github.com/Neur0toxine/pock.git
synced 2024-11-28 15:56:09 +03:00
30 lines
471 B
PHP
30 lines
471 B
PHP
<?php
|
|
|
|
/**
|
|
* PHP 7.1
|
|
*
|
|
* @category EmptyJsonSerializerDecorator
|
|
* @package Pock\TestUtils
|
|
*/
|
|
|
|
namespace Pock\TestUtils;
|
|
|
|
use Pock\Serializer\SerializerInterface;
|
|
|
|
/**
|
|
* Class EmptyJsonSerializerDecorator
|
|
*
|
|
* @category EmptyJsonSerializerDecorator
|
|
* @package Pock\TestUtils
|
|
*/
|
|
class EmptyJsonSerializerDecorator implements SerializerInterface
|
|
{
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function serialize($data): string
|
|
{
|
|
return '{}';
|
|
}
|
|
}
|