public function find($id) {
        if ((string)$this->id === (string)$id) {
            return $this;
        }
        foreach ($this->subtree as $tab) {
            if ($obj = $tab->find($id)) {
                return $obj;
            }
        }
        return null;
    }
public function find($id) {
        if ((string)$this->id === (string)$id) {
            return $this;
        }
        foreach ($this->subtree as $tab) {
            if ($obj = $tab->find($id)) {
                return $obj;
            }
        }
        return null;
    }
public function find ( $ id ) { if ( ( string ) $ this -> id === ( string ) $ id ) { return $ this ; } foreach ( $ this -> subtree as $ tab ) { if ( $ obj = $ tab -> find ( $ id ) ) { return $ obj ; } } return null ; }
Travels through tree and finds a tab with specified id

@param string $id
@return tabtree|null
Travels through tree and finds a tab with specified id