<?php
use Chubbyphp\Validation\Mapping\LazyValidationMappingProvider;
use MyProject\Model\Model;
$container = ...;
$mappingProvider = new LazyValidationMappingProvider(
$container,
'myproject.denormalizer.mapping.model',
Model::class
);
$mappingProvider->getClass();
// \Namespace\To\Model
$mappingProvider->getValidationClassMapping('');
// ValidationClassMappingInterface[]
$mappingProvider->getValidationPropertyMappings('');
// ValidationPropertyMappingInterface[]
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.