Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\Serializer\Normalizer; Chris@0: Chris@0: /** Chris@0: * DenormalizerAware trait. Chris@0: * Chris@0: * @author Joel Wurtz Chris@0: */ Chris@0: trait DenormalizerAwareTrait Chris@0: { Chris@0: /** Chris@0: * @var DenormalizerInterface Chris@0: */ Chris@0: protected $denormalizer; Chris@0: Chris@0: /** Chris@0: * Sets the Denormalizer. Chris@0: * Chris@0: * @param DenormalizerInterface $denormalizer A DenormalizerInterface instance Chris@0: */ Chris@0: public function setDenormalizer(DenormalizerInterface $denormalizer) Chris@0: { Chris@0: $this->denormalizer = $denormalizer; Chris@0: } Chris@0: }