for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace WsdlToPhp\DomHandler;
use WsdlToPhp\DomHandler\AbstractDomDocumentHandler;
class DomDocumentHandler extends AbstractDomDocumentHandler
{
/**
* @param \DOMNode $node
* @param \WsdlToPhp\DomHandler\AbstractDomDocumentHandler $domDocument
* @param int $index
* @return NodeHandler
* @see \WsdlToPhp\DomHandler\AbstractDomDocumentHandler::getNodeHandler()
*/
protected function getNodeHandler(\DOMNode $node, AbstractDomDocumentHandler $domDocument, $index = -1)
return new NodeHandler($node, $domDocument, $index);
}
* @param \DOMElement $element
* @return ElementHandler
protected function getElementHandler(\DOMElement $element, AbstractDomDocumentHandler $domDocument, $index = -1)
return new ElementHandler($element, $domDocument, $index);
* @param \DOMAttr $attribute
* @return AttributeHandler
* @see \WsdlToPhp\DomHandler\AbstractDomDocumentHandler::getAttributeHandler()
protected function getAttributeHandler(\DOMAttr $attribute, AbstractDomDocumentHandler $domDocument, $index = -1)
return new AttributeHandler($attribute, $domDocument, $index);
public function getRootElement()
return $this->rootElement;