Skip to main content

GravityKit\GravityMigrate\Options

Every option name the plugin reads or writes.

A migration hands its progress between requests through these options, so a mistyped name fails silently: the writer stores under a name nobody reads, the reader finds nothing and treats it as "no work recorded", and the run reports success having skipped a stage.

The values carry three different prefixes. They are reproduced here exactly as stored: these names are already in customers' databases, so changing one abandons the state it points at rather than renaming it.

Since: %ver%

Source: src/Options.php:23

Details

  • Kind: class
  • Namespace: GravityKit\GravityMigrate

Methods

MethodDescription
all()Every option above, for callers that need the whole set rather than one name.

Method Reference

all()

public static function all(): array

Every option above, for callers that need the whole set rather than one name.

Returns

  • string[]

Since: %ver%

Source: src/Options.php:336