ParameterizedHeader.php 692 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /*
  3. * This file is part of SwiftMailer.
  4. * (c) 2004-2009 Chris Corbyn
  5. *
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. */
  9. /**
  10. * A MIME Header with parameters.
  11. *
  12. * @author Chris Corbyn
  13. */
  14. interface Swift_Mime_ParameterizedHeader extends Swift_Mime_Header
  15. {
  16. /**
  17. * Set the value of $parameter.
  18. *
  19. * @param string $parameter
  20. * @param string $value
  21. */
  22. public function setParameter($parameter, $value);
  23. /**
  24. * Get the value of $parameter.
  25. *
  26. * @param string $parameter
  27. *
  28. * @return string
  29. */
  30. public function getParameter($parameter);
  31. }