-
Simonas Šerlinskas authoredSimonas Šerlinskas authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
AbstractNormalizable.php 928 B
<?php
/*
* This file is part of the ONGR package.
*
* (c) NFQ Technologies UAB <info@nfq.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace ONGR\ElasticsearchDSL\Serializer\Normalizer;
use ONGR\ElasticsearchDSL\ParametersTrait;
use Symfony\Component\Serializer\Normalizer\NormalizableInterface;
/**
* Custom abstract normalizer which can save references for other objects.
*/
abstract class AbstractNormalizable implements NormalizableInterface
{
use ParametersTrait {
ParametersTrait::hasParameter as hasReference;
ParametersTrait::getParameter as getReference;
ParametersTrait::getParameters as getReferences;
ParametersTrait::addParameter as addReference;
ParametersTrait::removeParameter as removeReference;
ParametersTrait::setParameters as setReferences;
}
}