Просмотр файла vendor/swiftmailer/swiftmailer/lib/classes/Swift/ReplacementFilterFactory.php

Размер файла: 549B
  1. <?php
  2.  
  3. /*
  4. * This file is part of SwiftMailer.
  5. * (c) 2004-2009 Chris Corbyn
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10.  
  11. /**
  12. * Creates StreamFilters.
  13. *
  14. * @author Chris Corbyn
  15. */
  16. interface Swift_ReplacementFilterFactory
  17. {
  18. /**
  19. * Create a filter to replace $search with $replace.
  20. *
  21. * @param mixed $search
  22. * @param mixed $replace
  23. *
  24. * @return Swift_StreamFilter
  25. */
  26. public function createFilter($search, $replace);
  27. }