Radio.php 560 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Ui\Component\Form\Element;
  7. /**
  8. * @api
  9. * @since 100.0.2
  10. */
  11. class Radio extends AbstractElement
  12. {
  13. const NAME = 'radio';
  14. /**
  15. * Get component name
  16. *
  17. * @return string
  18. */
  19. public function getComponentName()
  20. {
  21. return static::NAME;
  22. }
  23. /**
  24. * @return bool
  25. * @SuppressWarnings(PHPMD.BooleanGetMethodName)
  26. */
  27. public function getChecked()
  28. {
  29. return false;
  30. }
  31. }