/** * Attempts to add files that match a given pattern. * * @see SimpleCollector::_handle() * @param object $test Group test with {@link GroupTest::addTestFile()} method. * @param string $path Directory to scan. * @access protected */ function _handle(&$test, $filename) { if (preg_match($this->_pattern, $filename)) { parent::_handle($test, $filename); } }