ResultInterface.php 621 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\View\TemplateEngine\Xhtml;
  7. /**
  8. * Interface ResultInterface
  9. */
  10. interface ResultInterface
  11. {
  12. /**
  13. * Get result document root element \DOMElement
  14. *
  15. * @return \DOMElement
  16. */
  17. public function getDocumentElement();
  18. /**
  19. * Append layout configuration
  20. *
  21. * @return void
  22. */
  23. public function appendLayoutConfiguration();
  24. /**
  25. * Returns the string representation
  26. *
  27. * @return string
  28. */
  29. public function __toString();
  30. }