LabelTranslatorStrategyInterface.php 608 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /*
  3. * This file is part of the Sonata Project package.
  4. *
  5. * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  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 Sonata\AdminBundle\Translator;
  11. /**
  12. * @author Thomas Rabaix <thomas.rabaix@sonata-project.org>
  13. */
  14. interface LabelTranslatorStrategyInterface
  15. {
  16. /**
  17. * @param string $label
  18. * @param string $context
  19. * @param string $type
  20. *
  21. * @return string
  22. */
  23. public function getLabel($label, $context = '', $type = '');
  24. }