File: /var/www/vhost/disk-apps/agile-selling-orl/vendor/jms/serializer/src/Annotation/Discriminator.php
<?php
declare(strict_types=1);
namespace JMS\Serializer\Annotation;
/**
* @Annotation
* @Target("CLASS")
*/
#[\Attribute(\Attribute::TARGET_CLASS)]
class Discriminator
{
use AnnotationUtilsTrait;
/** @var array<string> */
public $map = [];
/** @var string */
public $field = 'type';
/** @var bool */
public $disabled = false;
/** @var string[] */
public $groups = [];
public function __construct(array $values = [], string $field = 'type', array $groups = [], array $map = [], bool $disabled = false)
{
$this->loadAnnotationParameters(get_defined_vars());
}
}