/**
* Updates existing content objects from $fromType to $toType
*
* @param \eZ\Publish\SPI\Persistence\Content\Type $fromType
* @param \eZ\Publish\SPI\Persistence\Content\Type $toType
*
* @return void
*/
public function updateContentObjects(Type $fromType, Type $toType)
{
$this->contentUpdater->applyUpdates($fromType->id, $this->contentUpdater->determineActions($fromType, $toType));
}