SerializerHandlerInterface.php 568 B

12345678910111213141516171819202122232425
  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\CoreBundle\Serializer;
  11. use JMS\Serializer\Handler\SubscribingHandlerInterface;
  12. /**
  13. * @author Sylvain Deloux <sylvain.deloux@ekino.com>
  14. */
  15. interface SerializerHandlerInterface extends SubscribingHandlerInterface
  16. {
  17. /**
  18. * @return string
  19. */
  20. public static function getType();
  21. }