vendor/symfony/serializer/Normalizer/ContextAwareDenormalizerInterface.php line 28

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Symfony package.
  4.  *
  5.  * (c) Fabien Potencier <fabien@symfony.com>
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. namespace Symfony\Component\Serializer\Normalizer;
  11. /**
  12.  * Adds the support of an extra $context parameter for the supportsDenormalization method.
  13.  *
  14.  * @author Kévin Dunglas <dunglas@gmail.com>
  15.  *
  16.  * @deprecated since symfony/serializer 6.1, use DenormalizerInterface instead
  17.  */
  18. interface ContextAwareDenormalizerInterface extends DenormalizerInterface
  19. {
  20.     /**
  21.      * {@inheritdoc}
  22.      *
  23.      * @param array $context options that denormalizers have access to
  24.      */
  25.     public function supportsDenormalization(mixed $datastring $typestring $format null, array $context = []): bool;
  26. }