name: DiscriminatorMap class_comment: null dependencies: - name: InvalidArgumentException type: class source: Symfony\Component\Serializer\Exception\InvalidArgumentException properties: [] methods: - name: __construct visibility: public parameters: - name: typeProperty - name: mapping comment: '# * @author Samuel Roze # */ # #[\Attribute(\Attribute::TARGET_CLASS)] # class DiscriminatorMap # { # /** # * @param string $typeProperty The property holding the type discriminator # * @param array $mapping The mapping between types and classes (i.e. [''admin_user'' => AdminUser::class]) # * # * @throws InvalidArgumentException' - name: getTypeProperty visibility: public parameters: [] comment: null - name: getMapping visibility: public parameters: [] comment: null traits: - Symfony\Component\Serializer\Exception\InvalidArgumentException interfaces: []