CharacterReaderFactory.php 546 B

1234567891011121314151617181920212223242526
  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. * @author Chris Corbyn
  13. */
  14. interface Swift_CharacterReaderFactory
  15. {
  16. /**
  17. * Returns a CharacterReader suitable for the charset applied.
  18. *
  19. * @param string $charset
  20. *
  21. * @return Swift_CharacterReader
  22. */
  23. public function getReaderFor($charset);
  24. }