public function findChanges()
    {
        $this->reset();

        if ($this->cache->isInitialized() == false) {
            $this->warmUpCache();
        } else {
            $this->findChangesAgainstCache();
        }

        $this->cache->save();

        return new ResourceWatcherResult($this->newFiles, $this->deletedFiles, $this->updatedFiles);
    }
public function findChanges()
    {
        $this->reset();

        if ($this->cache->isInitialized() == false) {
            $this->warmUpCache();
        } else {
            $this->findChangesAgainstCache();
        }

        $this->cache->save();

        return new ResourceWatcherResult($this->newFiles, $this->deletedFiles, $this->updatedFiles);
    }
public function findChanges ( ) { $ this -> reset ( ) ; if ( $ this -> cache -> isInitialized ( ) == false ) { $ this -> warmUpCache ( ) ; } else { $ this -> findChangesAgainstCache ( ) ; } $ this -> cache -> save ( ) ; return new ResourceWatcherResult ( $ this -> newFiles , $ this -> deletedFiles , $ this -> updatedFiles ) ; }
Finds all the changes in the filesystem according to the finder criteria.

@return ResourceWatcherResult
Finds all the changes in the filesystem according to the finder criteria .