public function reset(): void
    {
        foreach ($this->sources as $source) {
            $source->setHasNotChanged();
        }

        $this->newSources = [];
    }
public function reset(): void
    {
        foreach ($this->sources as $source) {
            $source->setHasNotChanged();
        }

        $this->newSources = [];
    }
public function reset ( ) : void { foreach ( $ this -> sources as $ source ) { $ source -> setHasNotChanged ( ) ; } $ this -> newSources = [ ] ; }
Reset all sources.

Should be called after each loop while watching.
Reset all sources .