src/Bridge/Doctrine/Common/DataPersister.php
private function isDeferredExplicit(DoctrineObjectManager $manager, $data): bool
    {
        $classMetadata = $manager->getClassMetadata($this->getObjectClass($data));
        if ($classMetadata instanceof ClassMetadataInfo && method_exists($classMetadata, 'isChangeTrackingDeferredExplicit')) {
            return $classMetadata->isChangeTrackingDeferredExplicit();
        }

        return false;
    }
private function isDeferredExplicit(DoctrineObjectManager $manager, $data): bool
    {
        $classMetadata = $manager->getClassMetadata($this->getObjectClass($data));
        if ($classMetadata instanceof ClassMetadataInfo && method_exists($classMetadata, 'isChangeTrackingDeferredExplicit')) {
            return $classMetadata->isChangeTrackingDeferredExplicit();
        }

        return false;
    }
private function isDeferredExplicit ( DoctrineObjectManager $ manager , $ data ) : bool { $ classMetadata = $ manager -> getClassMetadata ( $ this -> getObjectClass ( $ data ) ) ; if ( $ classMetadata instanceof ClassMetadataInfo && method_exists ( $ classMetadata , 'isChangeTrackingDeferredExplicit' ) ) { return $ classMetadata -> isChangeTrackingDeferredExplicit ( ) ; } return false ; }
Checks if doctrine does not manage data automatically.
Checks if doctrine does not manage data automatically .