MailInterface.php 495 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Contact\Model;
  7. /**
  8. * Email from contact form
  9. *
  10. * @api
  11. * @since 100.2.0
  12. */
  13. interface MailInterface
  14. {
  15. /**
  16. * Send email from contact form
  17. *
  18. * @param string $replyTo Reply-to email address
  19. * @param array $variables Email template variables
  20. * @return void
  21. * @since 100.2.0
  22. */
  23. public function send($replyTo, array $variables);
  24. }