for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the XabbuhPandaClient package.
*
* (c) Christian Flothmann <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Xabbuh\PandaClient\Transformer;
/**
* Transform Encodings from and to various data representation formats.
* @author Christian Flothmann <[email protected]>
class EncodingTransformer extends BaseTransformer implements EncodingTransformerInterface
{
* {@inheritDoc}
public function stringToEncoding($jsonString)
return $this->serializer->deserialize($jsonString, 'Encoding');
}
public function stringToEncodingCollection($jsonString)