classes/phing/util/DirectoryScanner.php
protected function couldHoldIncluded($_name)
    {
        for ($i = 0, $includesCount = count($this->includes); $i < $includesCount; $i++) {
            if ($this->matchPatternStart($this->includes[$i], $_name, $this->isCaseSensitive)) {
                return true;
            }
        }

        return false;
    }
protected function couldHoldIncluded($_name)
    {
        for ($i = 0, $includesCount = count($this->includes); $i < $includesCount; $i++) {
            if ($this->matchPatternStart($this->includes[$i], $_name, $this->isCaseSensitive)) {
                return true;
            }
        }

        return false;
    }
protected function couldHoldIncluded ( $ _name ) { for ( $ i = 0 , $ includesCount = count ( $ this -> includes ) ; $ i < $ includesCount ; $ i ++ ) { if ( $ this -> matchPatternStart ( $ this -> includes [ $ i ] , $ _name , $ this -> isCaseSensitive ) ) { return true ; } } return false ; }
Tests whether a name matches the start of at least one include pattern.

@param  string $_name the name to match
@return bool <code>true</code> when the name matches against at least one
include pattern, <code>false</code> otherwise.
Tests whether a name matches the start of at least one include pattern .