public function getEntityFqcnFromParent(string $parentFqcn, string $parentProperty)
    {
        $parentClassMetadata = $this->doctrine->getManagerForClass($parentFqcn)->getClassMetadata($parentFqcn);

        // Required to use getAssociationMappings method
        if (!$parentClassMetadata instanceof ClassMetadataInfo) {
            return;
        }

        try {
            $entityFqcn = $parentClassMetadata->getAssociationTargetClass($parentProperty);
        } catch (\Exception $e) {
            return;
        }

        return $entityFqcn;
    }