Method.php 628 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. /**
  7. * Source for email send method
  8. *
  9. * @author Magento Core Team <core@magentocommerce.com>
  10. */
  11. namespace Magento\Config\Model\Config\Source\Email;
  12. /**
  13. * @api
  14. * @since 100.0.2
  15. */
  16. class Method implements \Magento\Framework\Option\ArrayInterface
  17. {
  18. /**
  19. * @return array
  20. */
  21. public function toOptionArray()
  22. {
  23. $options = [
  24. ['value' => 'bcc', 'label' => __('Bcc')],
  25. ['value' => 'copy', 'label' => __('Separate Email')],
  26. ];
  27. return $options;
  28. }
  29. }