LaunchDarkly PHP SDK 6.3.0

Migrator
in package

Migrator is a class for performing a technology migration.

This class is not intended to be instanced directly, but instead should be constructed using the MigratorBuilder.

Table of Contents

__construct()  : mixed
read()  : OperationResult
Uses the provided flag key and context to execute a migration-backed read operation.
write()  : WriteResult
Uses the provided flag key and context to execute a migration-backed write operation.

Methods

read()

Uses the provided flag key and context to execute a migration-backed read operation.

public read(string $key, LDContext $context, Stage $defaultStage[, mixed $payload = null ]) : OperationResult
Parameters
$key : string
$context : LDContext
$defaultStage : Stage
$payload : mixed = null
Return values
OperationResult

write()

Uses the provided flag key and context to execute a migration-backed write operation.

public write(string $key, LDContext $context, Stage $defaultStage[, mixed $payload = null ]) : WriteResult
Parameters
$key : string
$context : LDContext
$defaultStage : Stage
$payload : mixed = null
Return values
WriteResult

Search results