1
0
mirror of synced 2024-11-28 15:46:04 +03:00
service-bundle/Serializer/Adapter.php

11 lines
265 B
PHP
Raw Normal View History

<?php
namespace RetailCrm\ServiceBundle\Serializer;
interface Adapter
{
public function deserialize(string $data, string $type, string $format = 'json'): object;
public function arrayToObject(array $data, string $type, ?string $format = null): object;
}