protected function _excluded($path) { foreach ($this->_exclude as $exclude) { if (fnmatch($exclude, $path)) { return true; } } return false; }