KMP PHP API Reference

SyncMemberWarrantableStatusesCommand extends Command
in package

CLI command to synchronize stored member warrantable flags.

Recomputes warrant eligibility for a targeted candidate set and persists only rows where the stored boolean value is stale.

Candidate members are those:

  • modified in the last 24 hours, OR
  • currently marked warrantable=true while status is verified and membership is expired.

Table of Contents

Methods

buildOptionParser()  : ConsoleOptionParser
execute()  : int
Execute command.

Methods

buildOptionParser()

public buildOptionParser(ConsoleOptionParser $parser) : ConsoleOptionParser
Parameters
$parser : ConsoleOptionParser
Tags
inheritDoc
Return values
ConsoleOptionParser

execute()

Execute command.

public execute(Arguments $args, ConsoleIo $io) : int
Parameters
$args : Arguments

Console arguments instance.

$io : ConsoleIo

Console IO instance.

Return values
int

        
On this page

Search results