菜谱项目

DumperInterface.php 810B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\Translation\Dumper;
  11. use Symfony\Component\Translation\MessageCatalogue;
  12. /**
  13. * DumperInterface is the interface implemented by all translation dumpers.
  14. * There is no common option.
  15. *
  16. * @author Michel Salib <michelsalib@hotmail.com>
  17. */
  18. interface DumperInterface
  19. {
  20. /**
  21. * Dumps the message catalogue.
  22. *
  23. * @param MessageCatalogue $messages The message catalogue
  24. * @param array $options Options that are used by the dumper
  25. */
  26. public function dump(MessageCatalogue $messages, $options = array());
  27. }