ParameterizedHeader.php 737B

12345678910111213141516171819202122232425262728293031323334353637
  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. * @package Swift
  13. * @subpackage Mime
  14. * @author Chris Corbyn
  15. */
  16. interface Swift_Mime_ParameterizedHeader extends Swift_Mime_Header
  17. {
  18. /**
  19. * Set the value of $parameter.
  20. *
  21. * @param string $parameter
  22. * @param string $value
  23. */
  24. public function setParameter($parameter, $value);
  25. /**
  26. * Get the value of $parameter.
  27. *
  28. * @param string $parameter
  29. *
  30. * @return string
  31. */
  32. public function getParameter($parameter);
  33. }