class DuplicateMappingException extends \RuntimeException
8
{
9
public static function create(string $sourceClass, string $type1, string $type2): self
10
{
11
throw new self("The class '$sourceClass' should be mapped by only one GraphQL type class. Two classes are pointing via the @Type annotation to this class: '$type1' and '$type2'");