public __construct ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $filename ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface |
public function __construct(InputInterface $input, OutputInterface $output, $filename)
{
$this->input = $input;
$this->output = $output;
$this->filename = $filename;
if (!file_exists(dirname($this->filename))) {
throw new \LogicException('Please create the [HtmlReport] destination folder first');
}
}