src/Bridge/Doctrine/Common/DataPersister.php
private function getManager($data): ?DoctrineObjectManager
    {
        return \is_object($data) ? $this->managerRegistry->getManagerForClass($this->getObjectClass($data)) : null;
    }
private function getManager($data): ?DoctrineObjectManager
    {
        return \is_object($data) ? $this->managerRegistry->getManagerForClass($this->getObjectClass($data)) : null;
    }
private function getManager ( $ data ) : ? DoctrineObjectManager { return \ is_object ( $ data ) ? $ this -> managerRegistry -> getManagerForClass ( $ this -> getObjectClass ( $ data ) ) : null ; }
Gets the Doctrine object manager associated with given data.
Gets the Doctrine object manager associated with given data .