Inserts a new version.
abstract public insertVersion ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, array $fields ) : integer | ||
$versionInfo | eZ\Publish\SPI\Persistence\Content\VersionInfo | |
$fields | array | |
return | integer | ID |