for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Schema Validator
*
* @author Vlad Shashkov <[email protected]>
* @copyright Copyright (c) 2021, The Myaza Software
*/
declare(strict_types=1);
namespace SchemaValidator\Metadata;
* @codeCoverageIgnore
final class ClassDiscriminatorMapping
{
* ClassDiscriminatorMapping constructor.
* @param array<string> $mapValue
public function __construct(
private array $mapValue,
private Property $property,
) {
}
* @return string[]
public function getMapValue(): array
return $this->mapValue;
public function getProperty(): Property
return $this->property;