protected function _out()
{
$conf = $this->config->check('harvest');
if ($conf['out']) {
if (is_dir($conf['out'])) {
$file = rtrim($conf['out'], '/') . '/' . 'phplinter.harvest.json';
} else {
$file = $conf['out'];
}
$this->write($file, json_encode($this->out));
} else {
echo json_encode($this->out);
}
}