![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/framework/View/Element/UiComponent/Config/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\View\Element\UiComponent\Config; /** * Interface DomMergerInterface * * @api */ interface DomMergerInterface { /** * Merge $xml into DOM document * * @param string $xml * @return void */ public function merge($xml); /** * Recursive merging of the \DOMElement into the original document * * Algorithm: * 1. Find the same node in original document * 2. Extend and override original document node attributes and scalar value if found * 3. Append new node if original document doesn't have the same node * * @param \DOMElement $node * @throws \Magento\Framework\Exception\LocalizedException * @return void */ public function mergeNode(\DOMElement $node); /** * Get DOM document * * @return \DOMDocument */ public function getDom(); /** * Set DOM document * * @param \DOMDocument $domDocument * @return void */ public function setDom(\DOMDocument $domDocument); /** * Unset DOM document * * @return void */ public function unsetDom(); /** * Validate self contents towards to specified schema * * @param string $schemaFileName * @return array */ public function validate($schemaFileName); }