src/Parser/Doctrine/DoctrineParser.php
final private function validateFieldPrefixIsInAssociations(string $fieldPrefix, array $fieldPrefixesToClasses)
    {
        if (!array_key_exists($fieldPrefix, $fieldPrefixesToClasses)) {
            throw new MissingAssociationClassException(sprintf(
                'Missing class for fieldPrefix %s, at class %s, for parser %s',
                $fieldPrefix,
                $this->className,
                static::class
            ));
        }
    }
final private function validateFieldPrefixIsInAssociations(string $fieldPrefix, array $fieldPrefixesToClasses)
    {
        if (!array_key_exists($fieldPrefix, $fieldPrefixesToClasses)) {
            throw new MissingAssociationClassException(sprintf(
                'Missing class for fieldPrefix %s, at class %s, for parser %s',
                $fieldPrefix,
                $this->className,
                static::class
            ));
        }
    }
@param string $fieldPrefix
@param array  $fieldPrefixesToClasses

@throws MissingAssociationClassException