KMP PHP API Reference

PlatformScheduleRunCommand extends Command
in package

Table of Contents

Properties

$runner  : PlatformScheduleRunner|null

Methods

__construct()  : mixed
Constructor.
defaultName()  : string
execute()  : int
buildOptionParser()  : ConsoleOptionParser
getRunner()  : PlatformScheduleRunner
Resolve the schedule runner.

Properties

Methods

__construct()

Constructor.

public __construct([mixed $runner = null ]) : mixed
Parameters
$runner : mixed = null

Optional runner for tests; Cake passes CommandFactory in normal CLI construction.

execute()

public execute(Arguments $args, ConsoleIo $io) : int
Parameters
$args : Arguments
$io : ConsoleIo
Tags
inheritDoc
Return values
int

buildOptionParser()

protected buildOptionParser(ConsoleOptionParser $parser) : ConsoleOptionParser
Parameters
$parser : ConsoleOptionParser
Tags
inheritDoc
Return values
ConsoleOptionParser
On this page

Search results