UiReaderInterface.php 866 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\View\Element\UiComponent\Config;
  7. use Magento\Framework\Config\ReaderInterface;
  8. /**
  9. * Interface UiReaderInterface
  10. */
  11. interface UiReaderInterface extends ReaderInterface
  12. {
  13. /**
  14. * Add xml content in the merged file
  15. *
  16. * @param string $xmlContent
  17. * @return void
  18. */
  19. public function addXMLContent($xmlContent);
  20. /**
  21. * Get content from the merged files
  22. *
  23. * @return string
  24. */
  25. public function getContent();
  26. /**
  27. * Get DOM document
  28. *
  29. * @return \DOMDocument
  30. */
  31. public function getDOMDocument();
  32. /**
  33. * Add DOM node into DOM document
  34. *
  35. * @param \DOMNode $node
  36. * @return void
  37. */
  38. public function addNode(\DOMNode $node);
  39. }