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

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

        return $this;
    }
public function ignoreVCSIgnored ( bool $ ignoreVCSIgnored ) { if ( $ ignoreVCSIgnored ) { $ this -> ignore |= static :: IGNORE_VCS_IGNORED_FILES ; } else { $ this -> ignore &= ~ static :: IGNORE_VCS_IGNORED_FILES ; } return $ this ; }
Forces Finder to obey .gitignore and ignore files based on rules listed there.

This option is disabled by default.

@return $this
Forces Finder to obey . gitignore and ignore files based on rules listed there .