Skip to main content

GravityKit\GravityMigrate\Migration\BundleIndex

Finds the export bundles this site has written.

A background export clears its own record on completion, so the finished file is the only evidence the export happened.

Since: %ver%

Source: src/Migration/BundleIndex.php:20

Details​

  • Kind: class
  • Namespace: GravityKit\GravityMigrate\Migration

Methods​

MethodDescription
exports()Every export bundle on this site, newest first.

Method Reference​

exports()​

public static function exports(): array

Every export bundle on this site, newest first.

Returns​

  • array<int, — array{file:string, path:string, url:string, size_bytes:int, created:string, age_seconds:int}>

Since: %ver%

Source: src/Migration/BundleIndex.php:29