Container.php 470 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Ui\Component;
  7. /**
  8. * @api
  9. * @since 100.0.2
  10. */
  11. class Container extends AbstractComponent
  12. {
  13. const NAME = 'container';
  14. /**
  15. * Get component name
  16. *
  17. * @return string
  18. */
  19. public function getComponentName()
  20. {
  21. $type = $this->getData('type');
  22. return static::NAME . ($type ? ('.' . $type): '');
  23. }
  24. }