public function __construct($output_dir = null, $OPTIONS = null) { if (empty($output_dir)) { $this->output_dir = dirname(__FILE__) . '/' . 'html_report/'; } else { $this->output_dir = $output_dir; } $this->options = $OPTIONS; }