classes/phing/tasks/system/RecorderTask.php
protected function getRecorder($name, Project $proj)
    {
        // create a recorder entry
        $entry = isset(self::$recorderEntries[$name]) ? self::$recorderEntries[$name] : new RecorderEntry($name);

        if ($this->append == null) {
            $entry->openFile(false);
        } else {
            $entry->openFile(StringHelper::booleanValue($this->append));
        }
        $entry->setProject($proj);
        self::$recorderEntries[$name] = $entry;

        return $entry;
    }
protected function getRecorder($name, Project $proj)
    {
        // create a recorder entry
        $entry = isset(self::$recorderEntries[$name]) ? self::$recorderEntries[$name] : new RecorderEntry($name);

        if ($this->append == null) {
            $entry->openFile(false);
        } else {
            $entry->openFile(StringHelper::booleanValue($this->append));
        }
        $entry->setProject($proj);
        self::$recorderEntries[$name] = $entry;

        return $entry;
    }
protected function getRecorder ( $ name , Project $ proj ) { // create a recorder entry $ entry = isset ( self :: $ recorderEntries [ $ name ] ) ? self :: $ recorderEntries [ $ name ] : new RecorderEntry ( $ name ) ; if ( $ this -> append == null ) { $ entry -> openFile ( false ) ; } else { $ entry -> openFile ( StringHelper :: booleanValue ( $ this -> append ) ) ; } $ entry -> setProject ( $ proj ) ; self :: $ recorderEntries [ $ name ] = $ entry ; return $ entry ; }
Gets the recorder that's associated with the passed in name. If the
recorder doesn't exist, then a new one is created.

@param  string $name the name of the recorder
@param  Project $proj the current project
@return RecorderEntry a recorder
@throws BuildException on error
Gets the recorder that s associated with the passed in name . If the recorder doesn t exist then a new one is created .