/** * 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. */ protected function couldHoldIncluded($_name) { for ($i = 0; $i < count($this->includes); $i++) { if (DirectoryScanner::matchPatternStart($this->includes[$i], $_name, $this->isCaseSensitive)) { return true; } } return false; }