public function add(TrackedObject $tracked)
    {
        $id = $tracked->getID();
        if(isset($this->map[$id])){
            return;
        }
        $this->map[$id] = $tracked;
        $this->adapter->watch($tracked);
    }
public function add(TrackedObject $tracked)
    {
        $id = $tracked->getID();
        if(isset($this->map[$id])){
            return;
        }
        $this->map[$id] = $tracked;
        $this->adapter->watch($tracked);
    }
public function add ( TrackedObject $ tracked ) { $ id = $ tracked -> getID ( ) ; if ( isset ( $ this -> map [ $ id ] ) ) { return ; } $ this -> map [ $ id ] = $ tracked ; $ this -> adapter -> watch ( $ tracked ) ; }
Add a new TrackedObject into map
@param TrackedObject $tracked
Add a new TrackedObject into map