public function addInfo($key, $val = null)
{
if (is_array($key)) {
foreach ($key as $a => $b) {
$this->addInfo($a, $b);
}
return $this;
}
$this->debug("Gathered info: {$key}={$val}");
$this->info[$key] = $val;
return $this;
}