PHP Class Neos\ContentRepository\Migration\Domain\Model\MigrationStatus

Mostrar archivo Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$applicationTimeStamp DateTime
$direction string As ContentRepository migrations might not be reversible a down migration is just added as new status on top unlike persistence migrations.
$version string Version that was migrated to.

Public Methods

Method Description
__construct ( string $version, $direction, DateTime $applicationTimeStamp )
getApplicationTimeStamp ( ) : DateTime The date and time the recorded migration was applied.
getDirection ( ) : string The direction of the applied migration.
getVersion ( ) : string The version of the applied migration.

Method Details

__construct() public method

public __construct ( string $version, $direction, DateTime $applicationTimeStamp )
$version string
$applicationTimeStamp DateTime

getApplicationTimeStamp() public method

The date and time the recorded migration was applied.
public getApplicationTimeStamp ( ) : DateTime
return DateTime

getDirection() public method

The direction of the applied migration.
public getDirection ( ) : string
return string

getVersion() public method

The version of the applied migration.
public getVersion ( ) : string
return string

Property Details

$applicationTimeStamp protected_oe property

protected DateTime $applicationTimeStamp
return DateTime

$direction protected_oe property

As ContentRepository migrations might not be reversible a down migration is just added as new status on top unlike persistence migrations.
protected string $direction
return string

$version protected_oe property

Version that was migrated to.
protected string $version
return string