phplinter\Report\Base::write PHP Method

write() protected method

----------------------------------------------------------------------+
protected write ( $filename, $content )
    protected function write($filename, $content)
    {
        if (!$this->dry_run) {
            if (!\phplinter\Path::write_file($filename, $content)) {
                die("Unable to create '{$filename}'...");
            }
        }
        if ($this->config->check(OPT_VERBOSE)) {
            echo "Wrote to file `{$filename}`\n";
        }
    }