src/GitIgnore.php
protected function addEntriesForDirectoriesToIgnoreEntirely()
    {
        foreach ($this->directoriesToIgnoreEntirely as $directory) {
            if (!in_array($directory, $this->lines)) {
                $this->lines[] = $directory;
                $this->hasChanges = true;
            }
        }
    }
protected function addEntriesForDirectoriesToIgnoreEntirely()
    {
        foreach ($this->directoriesToIgnoreEntirely as $directory) {
            if (!in_array($directory, $this->lines)) {
                $this->lines[] = $directory;
                $this->hasChanges = true;
            }
        }
    }
protected function addEntriesForDirectoriesToIgnoreEntirely ( ) { foreach ( $ this -> directoriesToIgnoreEntirely as $ directory ) { if ( ! in_array ( $ directory , $ this -> lines ) ) { $ this -> lines [ ] = $ directory ; $ this -> hasChanges = true ; } } }
Add entries to for all directories ignored entirely.
Add entries to for all directories ignored entirely .