CharacterReaderFactory.php 559B

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