Runner
MMO\admin\helpers · 1 symbol · generated 5 Oct 2026
Runner
Runner.php:31Runs a list of aDeployTask against a list of Target, and is the only place that decides what happens when something goes wrong.
- Namespace
MMO\admin\helpers
Index
| assumeYes | ||
| continueOnError | ||
| dryRun | ||
| interactive | ||
| journaling | ||
| reports | ||
| repository | ||
| confirm($context, $plan) | Print the plan and, when a human is watching, ask before touching anything. | |
| debugName() | ||
| getLockOwner($context) | ||
| getReports() | ||
| isSuccessful() | ||
| plan($context, $tasks) | Ask every task what it would do. | |
| printSummary() | One line per target, so a fan-out ends with something readable. | |
| record($context, $outcome, $error) | Write the run's outcome to the target's journal -- failures included, because "what did we try last time" is exactly what you want to know when a deployment goes wrong. | |
| rollback($context, $applied) | Undo the tasks that already applied, most recent first. | |
| run($targets, $tasks, $options) | ||
| runTarget($target, $tasks, $options) | Run every task against one target. | |
| __construct($dryRun, $interactive, $assumeYes, $continueOnError, $repository, $journaling) |
Properties7
assumeYes
- Type
- bool
continueOnError
- Type
- bool
dryRun
- Type
- bool
interactive
- Type
- bool
journaling
- Type
- bool
reports
- Type
- array
repository
- Type
- null | iRepository
Methods12
confirm($context, $plan)
Runner.php:200Print the plan and, when a human is watching, ask before touching anything.
debugName()
Runner.php:50| returns | string |
getLockOwner($context)
Runner.php:266getReports()
Runner.php:53isSuccessful()
Runner.php:56| returns | bool | whether every target succeeded. |
plan($context, $tasks)
Runner.php:182Ask every task what it would do.
printSummary()
Runner.php:271One line per target, so a fan-out ends with something readable.
| returns | void |
record($context, $outcome, $error)
Runner.php:253Write the run's outcome to the target's journal -- failures included, because "what did we try last time" is exactly what you want to know when a deployment goes wrong.
rollback($context, $applied)
Runner.php:224Undo the tasks that already applied, most recent first.
run($targets, $tasks, $options)
Runner.php:69runTarget($target, $tasks, $options)
Runner.php:98Run every task against one target.