classes/phing/types/AbstractFileSet.php
public function hasPatterns()
    {
        if ($this->isReference() && $this->getProject() !== null) {
            return $this->getRef($this->getProject())->hasPatterns();
        }

        if ($this->defaultPatterns->hasPatterns()) {
            return true;
        }

        for ($i = 0, $size = count($this->additionalPatterns); $i < $size; $i++) {
            $ps = $this->additionalPatterns[$i];
            if ($ps->hasPatterns()) {
                return true;
            }
        }

        return false;
    }
public function hasPatterns()
    {
        if ($this->isReference() && $this->getProject() !== null) {
            return $this->getRef($this->getProject())->hasPatterns();
        }

        if ($this->defaultPatterns->hasPatterns()) {
            return true;
        }

        for ($i = 0, $size = count($this->additionalPatterns); $i < $size; $i++) {
            $ps = $this->additionalPatterns[$i];
            if ($ps->hasPatterns()) {
                return true;
            }
        }

        return false;
    }
public function hasPatterns ( ) { if ( $ this -> isReference ( ) && $ this -> getProject ( ) !== null ) { return $ this -> getRef ( $ this -> getProject ( ) ) -> hasPatterns ( ) ; } if ( $ this -> defaultPatterns -> hasPatterns ( ) ) { return true ; } for ( $ i = 0 , $ size = count ( $ this -> additionalPatterns ) ; $ i < $ size ; $ i ++ ) { $ ps = $ this -> additionalPatterns [ $ i ] ; if ( $ ps -> hasPatterns ( ) ) { return true ; } } return false ; }
Indicates whether there are any patterns here.

@return boolean Whether any patterns are in this container.
Indicates whether there are any patterns here .