Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 454 Bytes

DeserializationServiceFactory.md

File metadata and controls

20 lines (14 loc) · 454 Bytes

DeserializationServiceFactory

<?php

use Chubbyphp\Deserialization\ServiceFactory\DeserializationServiceFactory;
use Chubbyphp\Container\Container;

$container = new Container();
$container->factories((new DeserializationServiceFactory())($container));

$container->get('deserializer')
    ->deserialize(...);

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

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