Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 413 Bytes

DeserializationServiceProvider.md

File metadata and controls

20 lines (14 loc) · 413 Bytes

DeserializationServiceProvider

<?php

use Chubbyphp\Deserialization\ServiceProvider\DeserializationServiceProvider;
use Pimple\Container;

$container = new Container();
$container->register(new DeserializationServiceProvider);

$container['deserializer']
    ->deserialize(...);

$container['deserializer.decoder']
    ->decode(...);

$container['deserializer.denormalizer']
    ->denormalize(...);