src/package/Support/jasonlewis/resource-watcher/src/JasonLewis/ResourceWatcher/Tracker.php
public function register(ResourceInterface $resource, Listener $listener)
    {
        $this->tracked[$resource->getKey()] = [$resource, $listener];
    }
public function register(ResourceInterface $resource, Listener $listener)
    {
        $this->tracked[$resource->getKey()] = [$resource, $listener];
    }
public function register ( ResourceInterface $ resource , Listener $ listener ) { $ this -> tracked [ $ resource -> getKey ( ) ] = [ $ resource , $ listener ] ; }
Register a resource with the tracker.

@param \JasonLewis\ResourceWatcher\Resource\ResourceInterface $resource
@param \JasonLewis\ResourceWatcher\Listener                   $listener

@return void
Register a resource with the tracker .