protected function addToChain($name)
    {
        $dot = ($this->currentLevel === false) ? '' : '.';
        $this->currentLevel .= $dot . $name;

        return $this;
    }
protected function addToChain($name)
    {
        $dot = ($this->currentLevel === false) ? '' : '.';
        $this->currentLevel .= $dot . $name;

        return $this;
    }
protected function addToChain ( $ name ) { $ dot = ( $ this -> currentLevel === false ) ? '' : '.' ; $ this -> currentLevel .= $ dot . $ name ; return $ this ; }
Adds to the chain
@param string $name
@return $this
Adds to the chain