classes/phing/types/Path.php
public function setRefid(Reference $r)
    {
        if (!empty($this->elements)) {
            throw $this->tooManyAttributes();
        }
        $this->elements[] = $r;
        parent::setRefid($r);
    }
public function setRefid(Reference $r)
    {
        if (!empty($this->elements)) {
            throw $this->tooManyAttributes();
        }
        $this->elements[] = $r;
        parent::setRefid($r);
    }
public function setRefid ( Reference $ r ) { if ( ! empty ( $ this -> elements ) ) { throw $ this -> tooManyAttributes ( ) ; } $ this -> elements [ ] = $ r ; parent :: setRefid ( $ r ) ; }
Makes this instance in effect a reference to another Path instance.

<p>You must not set another attribute or nest elements inside
this element if you make it a reference.</p>

@param Reference $r

@return void

@throws BuildException
Makes this instance in effect a reference to another Path instance .