protected function buildDeprecationList(\DOMDocument $dom)
    {
        $nodes = $this->getNodeListForTagBasedQuery($dom, 'deprecated');

        $node = new \DOMElement('deprecated');
        $dom->documentElement->appendChild($node);
        $node->setAttribute('count', (string) $nodes->length);
    }
protected function buildDeprecationList(\DOMDocument $dom)
    {
        $nodes = $this->getNodeListForTagBasedQuery($dom, 'deprecated');

        $node = new \DOMElement('deprecated');
        $dom->documentElement->appendChild($node);
        $node->setAttribute('count', (string) $nodes->length);
    }
protected function buildDeprecationList ( \ DOMDocument $ dom ) { $ nodes = $ this -> getNodeListForTagBasedQuery ( $ dom , 'deprecated' ) ; $ node = new \ DOMElement ( 'deprecated' ) ; $ dom -> documentElement -> appendChild ( $ node ) ; $ node -> setAttribute ( 'count' , ( string ) $ nodes -> length ) ; }
Adds a node to the xml for deprecations and the count value

@param \DOMDocument $dom Markers are extracted and a summary inserted in this object.
Adds a node to the xml for deprecations and the count value