ParserInterface.php 393 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Ui\Config\Argument;
  7. /**
  8. * Convert node to array
  9. */
  10. interface ParserInterface
  11. {
  12. /**
  13. * Parse xml node to array
  14. *
  15. * @param array $data
  16. * @param \DOMNode $node
  17. * @return array
  18. */
  19. public function parse(array $data, \DOMNode $node);
  20. }