private function addInheritedDocumentOptions(ClassMetadata $subClass, ClassMetadata $parentClass)
    {
        $subClass->setCustomRepositoryClassName($parentClass->customRepositoryClassName);
        $subClass->setTranslator($parentClass->translator);
        $subClass->setVersioned($parentClass->versionable);
        $subClass->setReferenceable($parentClass->referenceable);
        $subClass->setNodeType($parentClass->getNodeType());
    }
private function addInheritedDocumentOptions(ClassMetadata $subClass, ClassMetadata $parentClass)
    {
        $subClass->setCustomRepositoryClassName($parentClass->customRepositoryClassName);
        $subClass->setTranslator($parentClass->translator);
        $subClass->setVersioned($parentClass->versionable);
        $subClass->setReferenceable($parentClass->referenceable);
        $subClass->setNodeType($parentClass->getNodeType());
    }
private function addInheritedDocumentOptions ( ClassMetadata $ subClass , ClassMetadata $ parentClass ) { $ subClass -> setCustomRepositoryClassName ( $ parentClass -> customRepositoryClassName ) ; $ subClass -> setTranslator ( $ parentClass -> translator ) ; $ subClass -> setVersioned ( $ parentClass -> versionable ) ; $ subClass -> setReferenceable ( $ parentClass -> referenceable ) ; $ subClass -> setNodeType ( $ parentClass -> getNodeType ( ) ) ; }
Set the document level options of the parent class to the subclass.

This has to be done before loading the data of the subclass.

@param ClassMetadata $subClass
@param ClassMetadata $parentClass
Set the document level options of the parent class to the subclass .