classes/phing/tasks/ext/pdo/PDOSQLExecFormatterElement.php
private function getOutputWriter()
    {
        if ($this->useFile) {
            $of = $this->getOutfile();
            if (!$of) {
                $of = new PhingFile($this->formatter->getPreferredOutfile());
            }

            return new FileWriter($of, $this->append);
        } else {
            return $this->getDefaultOutput();
        }
    }
private function getOutputWriter()
    {
        if ($this->useFile) {
            $of = $this->getOutfile();
            if (!$of) {
                $of = new PhingFile($this->formatter->getPreferredOutfile());
            }

            return new FileWriter($of, $this->append);
        } else {
            return $this->getDefaultOutput();
        }
    }
private function getOutputWriter ( ) { if ( $ this -> useFile ) { $ of = $ this -> getOutfile ( ) ; if ( ! $ of ) { $ of = new PhingFile ( $ this -> formatter -> getPreferredOutfile ( ) ) ; } return new FileWriter ( $ of , $ this -> append ) ; } else { return $ this -> getDefaultOutput ( ) ; } }
Gets a configured output writer.

@return Writer
Gets a configured output writer .