protected function watch()
    {
        if ($this->id) {
            $this->bag->remove($this);
        }

        $this->id = $this->addWatch();
        $this->bag->add($this);
    }
protected function watch()
    {
        if ($this->id) {
            $this->bag->remove($this);
        }

        $this->id = $this->addWatch();
        $this->bag->add($this);
    }
protected function watch ( ) { if ( $ this -> id ) { $ this -> bag -> remove ( $ this ) ; } $ this -> id = $ this -> addWatch ( ) ; $ this -> bag -> add ( $ this ) ; }
Starts to track current resource
Starts to track current resource