TMigratorBasicVersionHandling
Basic version handling: we can import older versions but not newer ones
Tags
Table of Contents
Properties
- $mandatory : bool
- $version : int
Methods
- canImport() : bool
- {@inheritDoc}
- getVersion() : int
- {@inheritDoc}
Properties
$mandatory
protected
bool
$mandatory
= false
$version
protected
int
$version
= 1
Methods
canImport()
{@inheritDoc}
public
canImport(IImportSource $importSource) : bool
Parameters
- $importSource : IImportSource
Tags
Return values
boolgetVersion()
{@inheritDoc}
public
getVersion() : int