Copied!

IbexaMigrationInterface

IbexaMigrationInterface.php : 20
Interface

Interface representing an Ibexa-internal Doctrine migration.

Migration classes implementing this interface can declare their target Ibexa version and creation date so that they can be ordered correctly (and executed first) by the IbexaMigrationComparator.

Methods

publicgetCreationDate()

IbexaMigrationInterface.php : 30

Returns the creation date of this migration.

public static getCreationDate() : DateTimeInterface

Return values

DateTimeInterface

publicgetTargetVersion()

IbexaMigrationInterface.php : 25

Returns the target Ibexa version this migration is for (e.g. '5.0.0').

public static getTargetVersion() : string

Return values

string