Kahlan\Dir\Dir::_excluded PHP Метод

_excluded() защищенный Метод

Checks if a file passes match an excluded path.
protected _excluded ( $path ) : boolean
Результат boolean Returns `true` if match an excluded path, `false` otherwise.
    protected function _excluded($path)
    {
        foreach ($this->_exclude as $exclude) {
            if (fnmatch($exclude, $path)) {
                return true;
            }
        }
        return false;
    }