src/Entity/Savers/EntitySaverFactory.php
public function getSaverForEntity(
        EntityInterface $entity
    ): EntitySaverInterface {
        $fqn = $this->getEntityNamespace($entity);

        return $this->getSaverForEntityFqn($fqn);
    }
public function getSaverForEntity(
        EntityInterface $entity
    ): EntitySaverInterface {
        $fqn = $this->getEntityNamespace($entity);

        return $this->getSaverForEntityFqn($fqn);
    }
public function getSaverForEntity ( EntityInterface $ entity ) : EntitySaverInterface { $ fqn = $ this -> getEntityNamespace ( $ entity ) ; return $ this -> getSaverForEntityFqn ( $ fqn ) ; }
Gets the Entity Specific Saver if one is defined, otherwise the standard Entity Saver

@param EntityInterface $entity

@return EntitySaverInterface
Gets the Entity Specific Saver if one is defined otherwise the standard Entity Saver