public function getElementRegister()
    {
        if ($this->elementRegister === null) {
            $this->elementRegister = new ElementRegister();
            $this->initializeElementRegister($this->elementRegister);
        }
        return $this->elementRegister;
    }
public function getElementRegister()
    {
        if ($this->elementRegister === null) {
            $this->elementRegister = new ElementRegister();
            $this->initializeElementRegister($this->elementRegister);
        }
        return $this->elementRegister;
    }
public function getElementRegister ( ) { if ( $ this -> elementRegister === null ) { $ this -> elementRegister = new ElementRegister ( ) ; $ this -> initializeElementRegister ( $ this -> elementRegister ) ; } return $ this -> elementRegister ; }
Gets the element register.

@return ElementRegister
Gets the element register .