protected function initializeElementRegister(ElementRegister $register)
    {
        $register->set('a', new AnchorElement());
        $register->set('admonition', new AdmonitionElement());
        $register->set('br', new BreakElement());
        $register->set('code', new CodeElement());
        $register->set('em', new EmphasisElement());
        $register->set('error', new AdmonitionElement('error'));
        $register->set('header', new HeaderElement());
        $register->set('h1', new HeaderElement(1));
        $register->set('h2', new HeaderElement(2));
        $register->set('h3', new HeaderElement(3));
        $register->set('h4', new HeaderElement(4));
        $register->set('h5', new HeaderElement(5));
        $register->set('h6', new HeaderElement(6));
        $register->set('hint', new AdmonitionElement('hint'));
        $register->set('img', new ImageElement());
        $register->set('include', new IncludeElement());
        $register->set('list', new ListElement());
        $register->set('note', new AdmonitionElement('note'));
        $register->set('p', new ParagraphElement());
        $register->set('spoiler', new AdmonitionElement('spoiler'));
        $register->set('strong', new StrongElement());
        $register->set('table', new TableElement());
        $register->set('td', new TableColumnElement());
        $register->set('th', new TableHeaderElement());
        $register->set('tr', new TableRowElement());
        $register->set('tip', new AdmonitionElement('tip'));
        $register->set('warning', new AdmonitionElement('warning'));
    }
protected function initializeElementRegister(ElementRegister $register)
    {
        $register->set('a', new AnchorElement());
        $register->set('admonition', new AdmonitionElement());
        $register->set('br', new BreakElement());
        $register->set('code', new CodeElement());
        $register->set('em', new EmphasisElement());
        $register->set('error', new AdmonitionElement('error'));
        $register->set('header', new HeaderElement());
        $register->set('h1', new HeaderElement(1));
        $register->set('h2', new HeaderElement(2));
        $register->set('h3', new HeaderElement(3));
        $register->set('h4', new HeaderElement(4));
        $register->set('h5', new HeaderElement(5));
        $register->set('h6', new HeaderElement(6));
        $register->set('hint', new AdmonitionElement('hint'));
        $register->set('img', new ImageElement());
        $register->set('include', new IncludeElement());
        $register->set('list', new ListElement());
        $register->set('note', new AdmonitionElement('note'));
        $register->set('p', new ParagraphElement());
        $register->set('spoiler', new AdmonitionElement('spoiler'));
        $register->set('strong', new StrongElement());
        $register->set('table', new TableElement());
        $register->set('td', new TableColumnElement());
        $register->set('th', new TableHeaderElement());
        $register->set('tr', new TableRowElement());
        $register->set('tip', new AdmonitionElement('tip'));
        $register->set('warning', new AdmonitionElement('warning'));
    }
protected function initializeElementRegister ( ElementRegister $ register ) { $ register -> set ( 'a' , new AnchorElement ( ) ) ; $ register -> set ( 'admonition' , new AdmonitionElement ( ) ) ; $ register -> set ( 'br' , new BreakElement ( ) ) ; $ register -> set ( 'code' , new CodeElement ( ) ) ; $ register -> set ( 'em' , new EmphasisElement ( ) ) ; $ register -> set ( 'error' , new AdmonitionElement ( 'error' ) ) ; $ register -> set ( 'header' , new HeaderElement ( ) ) ; $ register -> set ( 'h1' , new HeaderElement ( 1 ) ) ; $ register -> set ( 'h2' , new HeaderElement ( 2 ) ) ; $ register -> set ( 'h3' , new HeaderElement ( 3 ) ) ; $ register -> set ( 'h4' , new HeaderElement ( 4 ) ) ; $ register -> set ( 'h5' , new HeaderElement ( 5 ) ) ; $ register -> set ( 'h6' , new HeaderElement ( 6 ) ) ; $ register -> set ( 'hint' , new AdmonitionElement ( 'hint' ) ) ; $ register -> set ( 'img' , new ImageElement ( ) ) ; $ register -> set ( 'include' , new IncludeElement ( ) ) ; $ register -> set ( 'list' , new ListElement ( ) ) ; $ register -> set ( 'note' , new AdmonitionElement ( 'note' ) ) ; $ register -> set ( 'p' , new ParagraphElement ( ) ) ; $ register -> set ( 'spoiler' , new AdmonitionElement ( 'spoiler' ) ) ; $ register -> set ( 'strong' , new StrongElement ( ) ) ; $ register -> set ( 'table' , new TableElement ( ) ) ; $ register -> set ( 'td' , new TableColumnElement ( ) ) ; $ register -> set ( 'th' , new TableHeaderElement ( ) ) ; $ register -> set ( 'tr' , new TableRowElement ( ) ) ; $ register -> set ( 'tip' , new AdmonitionElement ( 'tip' ) ) ; $ register -> set ( 'warning' , new AdmonitionElement ( 'warning' ) ) ; }
Initializes athe element register.

@param ElementRegister $register The register to initialize.
Initializes athe element register .