public function logPhaseActivity($msg, $codeLine = null)
{
// enforce our input type
Contract::RequiresValue($msg, is_string($msg));
if ($codeLine) {
Contract::RequiresValue($codeLine, is_array($codeLine));
}
// keep track of what was attempted, in case we need to show
// the user what was attempted
$this->activityLog[] = ['ts' => time(), 'text' => $msg, 'codeLine' => $codeLine, 'isOutput' => false];
// call all of our plugins
foreach ($this->plugins as $plugin) {
$plugin->logPhaseActivity($msg, $codeLine);
}
}