src/PHPDish/Bundle/ResourceBundle/EventListener/ORMMappedSuperClassSubscriber.php
protected function isResource(ClassMetadata $metadata): bool
    {
        if (!$reflectionClass = $metadata->getReflectionClass()) {
            return false;
        }

        return $reflectionClass->implementsInterface(IdentifiableInterface::class);
    }
protected function isResource(ClassMetadata $metadata): bool
    {
        if (!$reflectionClass = $metadata->getReflectionClass()) {
            return false;
        }

        return $reflectionClass->implementsInterface(IdentifiableInterface::class);
    }
@param ClassMetadata $metadata

@return bool