AbstractFileSet::setRefid PHP Method

setRefid() public method

You must not set another attribute or nest elements inside this element if you make it a reference.
public setRefid ( Reference $r )
$r Reference
    function setRefid(Reference $r)
    {
        if (isset($this->dir) && !is_null($this->dir) || $this->defaultPatterns->hasPatterns()) {
            throw $this->tooManyAttributes();
        }
        if (!empty($this->additionalPatterns)) {
            throw $this->noChildrenAllowed();
        }
        if (!empty($this->selectors)) {
            throw $this->noChildrenAllowed();
        }
        parent::setRefid($r);
    }