CharacterReaderFactory.php 590B

1234567891011121314151617181920212223242526272829
  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 factory for creating CharacterReaders.
  11. *
  12. * @package Swift
  13. * @subpackage Encoder
  14. * @author Chris Corbyn
  15. */
  16. interface Swift_CharacterReaderFactory
  17. {
  18. /**
  19. * Returns a CharacterReader suitable for the charset applied.
  20. *
  21. * @param string $charset
  22. *
  23. * @return Swift_CharacterReader
  24. */
  25. public function getReaderFor($charset);
  26. }