Pimcore\Model\Object\ClassDefinition\Dao::updateClassNameInObjects PHP Method

updateClassNameInObjects() public method

Update the class name in all object
public updateClassNameInObjects ( $newName ) : void
return void
    public function updateClassNameInObjects($newName)
    {
        $this->db->update("objects", ["o_className" => $newName], $this->db->quoteInto("o_classId = ?", $this->model->getId()));
        $this->db->update("object_query_" . $this->model->getId(), ["oo_className" => $newName]);
    }