PoolInterface.php 598 B

1234567891011121314151617181920212223242526272829
  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;
  7. use Magento\Framework\View\Element\UiComponentInterface;
  8. /**
  9. * Interface PoolInterface
  10. */
  11. interface PoolInterface
  12. {
  13. /**
  14. * Register component at pool
  15. *
  16. * @param UiComponentInterface $component
  17. * @return void
  18. */
  19. public function register(UiComponentInterface $component);
  20. /**
  21. * Retrieve components pool
  22. *
  23. * @return UiComponentInterface[]
  24. */
  25. public function getComponents();
  26. }