1<?php
2
3declare(strict_types=1);
4
5namespace JMS\Serializer\ContextFactory;
6
7use JMS\Serializer\DeserializationContext;
8
9/**
10 * Deserialization Context Factory using a callable.
11 */
12final class CallableDeserializationContextFactory extends CallableContextFactory implements
13    DeserializationContextFactoryInterface
14{
15    /**
16     * {@InheritDoc}
17     */
18    public function createDeserializationContext(): DeserializationContext
19    {
20        return $this->createContext();
21    }
22}
23