public function ignoreVCS($ignoreVCS)
    {
        if ($ignoreVCS) {
            $this->ignore |= static::IGNORE_VCS_FILES;
        } else {
            $this->ignore &= ~static::IGNORE_VCS_FILES;
        }

        return $this;
    }
public function ignoreVCS($ignoreVCS)
    {
        if ($ignoreVCS) {
            $this->ignore |= static::IGNORE_VCS_FILES;
        } else {
            $this->ignore &= ~static::IGNORE_VCS_FILES;
        }

        return $this;
    }
public function ignoreVCS ( $ ignoreVCS ) { if ( $ ignoreVCS ) { $ this -> ignore |= static :: IGNORE_VCS_FILES ; } else { $ this -> ignore &= ~ static :: IGNORE_VCS_FILES ; } return $ this ; }
Forces the finder to ignore version control directories.

This option is enabled by default.

@param bool $ignoreVCS Whether to exclude VCS files or not

@return $this

@see ExcludeDirectoryFilterIterator
Forces the finder to ignore version control directories .