protected function pathChanged($oldPath)
    {
        foreach ($this->pathListeners as $cb) {
            $cb($oldPath, $this->path);
        }
    }
protected function pathChanged($oldPath)
    {
        foreach ($this->pathListeners as $cb) {
            $cb($oldPath, $this->path);
        }
    }
protected function pathChanged ( $ oldPath ) { foreach ( $ this -> pathListeners as $ cb ) { $ cb ( $ oldPath , $ this -> path ) ; } }
Notifies the path listeners and passes the old and
the new path as parameters to each callback.

@return void
Notifies the path listeners and passes the old and the new path as parameters to each callback .