src/package/Support/jasonlewis/resource-watcher/src/JasonLewis/ResourceWatcher/Tracker.php
public function checkTrackings()
    {
        foreach ($this->tracked as $name => $tracked) {
            list($resource, $listener) = $tracked;

            if (!$events = $resource->detectChanges()) {
                continue;
            }

            foreach ($events as $event) {
                if ($event instanceof Event) {
                    $this->callListenerBindings($listener, $event);
                }
            }
        }
    }
public function checkTrackings()
    {
        foreach ($this->tracked as $name => $tracked) {
            list($resource, $listener) = $tracked;

            if (!$events = $resource->detectChanges()) {
                continue;
            }

            foreach ($events as $event) {
                if ($event instanceof Event) {
                    $this->callListenerBindings($listener, $event);
                }
            }
        }
    }
public function checkTrackings ( ) { foreach ( $ this -> tracked as $ name => $ tracked ) { list ( $ resource , $ listener ) = $ tracked ; if ( ! $ events = $ resource -> detectChanges ( ) ) { continue ; } foreach ( $ events as $ event ) { if ( $ event instanceof Event ) { $ this -> callListenerBindings ( $ listener , $ event ) ; } } } }
Detect any changes on the tracked resources.

@return void
Detect any changes on the tracked resources .