classes/phing/tasks/ext/phpunit/FormatterElement.php
public function setToDir($toDir)
    {
        if (!is_dir($toDir)) {
            $toDir = new PhingFile($toDir);
            $toDir->mkdirs();
        }

        $this->toDir = $toDir;
    }
public function setToDir($toDir)
    {
        if (!is_dir($toDir)) {
            $toDir = new PhingFile($toDir);
            $toDir->mkdirs();
        }

        $this->toDir = $toDir;
    }
public function setToDir ( $ toDir ) { if ( ! is_dir ( $ toDir ) ) { $ toDir = new PhingFile ( $ toDir ) ; $ toDir -> mkdirs ( ) ; } $ this -> toDir = $ toDir ; }
Sets output directory

@param string $toDir
Sets output directory